summaryrefslogtreecommitdiffstats
path: root/tests/test_ogone.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_ogone.py')
-rw-r--r--tests/test_ogone.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_ogone.py b/tests/test_ogone.py
index b667445..c44596d 100644
--- a/tests/test_ogone.py
+++ b/tests/test_ogone.py
@@ -76,7 +76,7 @@ class OgoneTests(TestCase):
ogone_backend = eopayment.Payment('ogone', BACKEND_PARAMS)
order_id = 'myorder'
data = {'payid': '32100123', 'status': 9, 'ncerror': 0}
- with self.assertRaises(ResponseError):
+ with self.assertRaisesRegexp(ResponseError, 'missing ORDERID, PAYID, STATUS or NCERROR'):
response = ogone_backend.response(urllib.urlencode(data))
def test_bank_transfer_response(self):