From 9cb63f8e83d1325eb143aa3384b0c0b9165db559 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Wed, 26 Oct 2011 17:11:51 +0200
Subject: [PATCH] Drop tests for removed functionality.

---
 .../testERP5PayzenSecurePayment.py            | 20 -------------------
 bt5/erp5_payzen_secure_payment/bt/revision    |  2 +-
 2 files changed, 1 insertion(+), 21 deletions(-)

diff --git a/bt5/erp5_payzen_secure_payment/TestTemplateItem/testERP5PayzenSecurePayment.py b/bt5/erp5_payzen_secure_payment/TestTemplateItem/testERP5PayzenSecurePayment.py
index 307da5c63c..43f5a962a1 100644
--- a/bt5/erp5_payzen_secure_payment/TestTemplateItem/testERP5PayzenSecurePayment.py
+++ b/bt5/erp5_payzen_secure_payment/TestTemplateItem/testERP5PayzenSecurePayment.py
@@ -145,26 +145,6 @@ class TestERP5PayzenSecurePayment(TestERP5PayzenSecurePaymentMixin):
     # dict was updated
     self.assertEqual(d['key'], now.strftime('%Y-%m-%dT%H:%M:%S'))
 
-  def test_getSignature_dict_date_as_DateTime_output_date(self):
-    now = DateTime.DateTime()
-    d = {'key': now}
-    self.assertEqual(
-      self.service._getSignature(d, ['key'], output_date_format='%Y'),
-      sha1(now.strftime('%Y%m%d') + '+' + self.service_password)
-    )
-    # dict was updated with passed format
-    self.assertEqual(d['key'], now.strftime('%Y'))
-
-  def test_getSignature_dict_date_as_DateTime_signature_format(self):
-    now = DateTime.DateTime()
-    d = {'key': now}
-    self.assertEqual(
-      self.service._getSignature(d, ['key'], signature_date_format='%Y'),
-      sha1(now.strftime('%Y') + '+' + self.service_password)
-    )
-    # dict was updated with passed format
-    self.assertEqual(d['key'], now.strftime('%Y-%m-%dT%H:%M:%S'))
-
   def test_getSignature_dict_date_as_string(self):
     now = DateTime.DateTime()
     d = {'keyDaTe': now.strftime('%Y-%m-%d %H:%M:%S')}
diff --git a/bt5/erp5_payzen_secure_payment/bt/revision b/bt5/erp5_payzen_secure_payment/bt/revision
index ac4213d6e9..d2e1cefe89 100644
--- a/bt5/erp5_payzen_secure_payment/bt/revision
+++ b/bt5/erp5_payzen_secure_payment/bt/revision
@@ -1 +1 @@
-43
\ No newline at end of file
+44
\ No newline at end of file
-- 
2.30.9