From fdba218b4aeb14058b02bd6c3e666474346156fa Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 25 Apr 2014 10:49:54 +0200 Subject: [PATCH] tests: disable the test on the FEDICT public TSS as it is currently broken --- tests/api.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/tests/api.py b/tests/api.py index a57d845..9daf5ba 100644 --- a/tests/api.py +++ b/tests/api.py @@ -23,6 +23,7 @@ class Rfc3161(unittest.TestCase): if nonce: kwargs['nonce'] = nonce value, substrate = timestamper(data=data, **kwargs) + self.assertIsNot(value, False, msg=substrate) self.assertIsInstance(rfc3161.get_timestamp(value), datetime.datetime) self.assertNotEqual(value, None) self.assertEqual(substrate, '') @@ -48,8 +49,9 @@ class Rfc3161(unittest.TestCase): '../data/e_szigno_test_tsa2.crt'), data=data, nonce=2, hashname='sha256') - def test_fedict(self): - url = 'http://tsa.belgium.be/connect' - self.default_test(url, - os.path.join(os.path.dirname(__file__), - '../data/fedict.crt')) + # Fedict TSS is broken for now + # def test_fedict(self): + # url = 'http://tsa.belgium.be/connect' + # self.default_test(url, + # os.path.join(os.path.dirname(__file__), + # '../data/fedict.crt'))