tests: disable the test on the FEDICT public TSS as it is currently broken
This commit is contained in:
parent
06241f487a
commit
fdba218b4a
12
tests/api.py
12
tests/api.py
|
@ -23,6 +23,7 @@ class Rfc3161(unittest.TestCase):
|
||||||
if nonce:
|
if nonce:
|
||||||
kwargs['nonce'] = nonce
|
kwargs['nonce'] = nonce
|
||||||
value, substrate = timestamper(data=data, **kwargs)
|
value, substrate = timestamper(data=data, **kwargs)
|
||||||
|
self.assertIsNot(value, False, msg=substrate)
|
||||||
self.assertIsInstance(rfc3161.get_timestamp(value), datetime.datetime)
|
self.assertIsInstance(rfc3161.get_timestamp(value), datetime.datetime)
|
||||||
self.assertNotEqual(value, None)
|
self.assertNotEqual(value, None)
|
||||||
self.assertEqual(substrate, '')
|
self.assertEqual(substrate, '')
|
||||||
|
@ -48,8 +49,9 @@ class Rfc3161(unittest.TestCase):
|
||||||
'../data/e_szigno_test_tsa2.crt'),
|
'../data/e_szigno_test_tsa2.crt'),
|
||||||
data=data, nonce=2, hashname='sha256')
|
data=data, nonce=2, hashname='sha256')
|
||||||
|
|
||||||
def test_fedict(self):
|
# Fedict TSS is broken for now
|
||||||
url = 'http://tsa.belgium.be/connect'
|
# def test_fedict(self):
|
||||||
self.default_test(url,
|
# url = 'http://tsa.belgium.be/connect'
|
||||||
os.path.join(os.path.dirname(__file__),
|
# self.default_test(url,
|
||||||
'../data/fedict.crt'))
|
# os.path.join(os.path.dirname(__file__),
|
||||||
|
# '../data/fedict.crt'))
|
||||||
|
|
Reference in New Issue