'Ensure the notification function is triggered when refunds are initiated, and cannot be automatically approved.'

@mock.patch(u'commerce.signals.send_refund_notification')
def test_no_notification_after_approval(self, mock_send_notification):

    refund_id = 1
    with mock_create_refund(status=201, response=[refund_id]):
        with mock_process_refund(refund_id, reset_on_exit=False):
            self.send_signal()
            self.assertFalse(mock_send_notification.called)
            last_request = httpretty.last_request()
            self.assertDictEqual(json.loads(last_request.body), {u'action': u'approve_payment_only'})
