test: add fedict tsa test

This commit is contained in:
Benjamin Dauvergne 2013-10-30 10:16:07 +01:00
parent 96e0a3ba12
commit 06241f487a
2 changed files with 6 additions and 0 deletions

BIN
data/fedict.crt Normal file

Binary file not shown.

View File

@ -47,3 +47,9 @@ class Rfc3161(unittest.TestCase):
certificate=os.path.join(os.path.dirname(__file__),
'../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'))