diff --git a/bt5/erp5_payzen_secure_payment/TestTemplateItem/testERP5PayzenSecurePayment.py b/bt5/erp5_payzen_secure_payment/TestTemplateItem/testERP5PayzenSecurePayment.py index f05c91f30e612d1217d32da5b1c0a13ccf4deb11..5d28e9fcd20c93131aeffa641307b4d2cdc3eab7 100644 --- a/bt5/erp5_payzen_secure_payment/TestTemplateItem/testERP5PayzenSecurePayment.py +++ b/bt5/erp5_payzen_secure_payment/TestTemplateItem/testERP5PayzenSecurePayment.py @@ -145,16 +145,6 @@ class TestERP5PayzenSecurePayment(TestERP5PayzenSecurePaymentMixin): # dict was updated self.assertEqual(d['key'], now) - def test_getSignature_dict_date_as_string(self): - now = DateTime.DateTime() - d = {'keyDaTe': now.strftime('%Y-%m-%d %H:%M:%S')} - self.assertEqual( - self.service._getSignature(d, ['keyDaTe']), - sha1(now.strftime('%Y%m%d') + '+' + self.service_password) - ) - # dict was updated with passed format - self.assertEqual(d['keyDaTe'], now.strftime('%Y-%m-%dT%H:%M:%S')) - def test_navigate(self): self.service.edit( link_url_string='http://payzen/', diff --git a/bt5/erp5_payzen_secure_payment/bt/revision b/bt5/erp5_payzen_secure_payment/bt/revision index 7d37386284a97324cbac474cb5ea5360d361d104..abc4eff6ac83026669840d289fce80cc9a42baaa 100644 --- a/bt5/erp5_payzen_secure_payment/bt/revision +++ b/bt5/erp5_payzen_secure_payment/bt/revision @@ -1 +1 @@ -45 \ No newline at end of file +46 \ No newline at end of file