summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2012-02-20 20:01:44 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2012-02-20 20:01:44 (GMT)
commitc1369bdab32321190610cc58d993f6fb414b2094 (patch)
treec9378eb43eb3e97e2ff208f421bd7d8c3ee8aa11 /tests
parent9490f71d01b1776bcb1b129ed757eb3c24783a44 (diff)
downloadeopayment-c1369bdab32321190610cc58d993f6fb414b2094.zip
eopayment-c1369bdab32321190610cc58d993f6fb414b2094.tar.gz
eopayment-c1369bdab32321190610cc58d993f6fb414b2094.tar.bz2
[spplus] fix signature checking for callback requests
Diffstat (limited to 'tests')
-rw-r--r--tests/spplus.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/spplus.py b/tests/spplus.py
index d28f2da..34f48a1 100644
--- a/tests/spplus.py
+++ b/tests/spplus.py
@@ -6,7 +6,8 @@ class SPPlustTest(TestCase):
'fd 64 63 c9 13 4a 26 ba 29 74 1e c7 e9 80 79'
tests = [('x=coin', 'c04f8266d6ae3ce37551cce996c751be4a95d10a'),
- ('x=coin&y=toto', 'ef008e02f8dbf5e70e83da416b0b3a345db203de')]
+ ('x=coin&y=toto', 'ef008e02f8dbf5e70e83da416b0b3a345db203de'),
+ ('x=wdwd%20%3Fdfgfdgd&z=343&hmac=04233b78bb5aff332d920d4e89394f505ec58a2a', '04233b78bb5aff332d920d4e89394f505ec58a2a')]
def test_spplus(self):
payment = spplus.Payment({'cle': self.ntkey, 'siret': '00000000000001-01'})