Clear role and key db in setup

to protect against test cases that did not clean up properly
This commit is contained in:
Vladimir Diaz 2017-07-17 16:31:32 -04:00
parent 8fe78f5ca8
commit d8b020c427
No known key found for this signature in database
GPG key ID: 5DEE9B97B0E2289A

View file

@ -84,6 +84,9 @@ def tearDownClass(cls):
def setUp(self):
tuf.roledb.clear_roledb(clear_all=True)
tuf.keydb.clear_keydb(clear_all=True)
tuf.roledb.create_roledb('test_repository')
tuf.keydb.create_keydb('test_repository')