mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Clear role and key db in setup
to protect against test cases that did not clean up properly
This commit is contained in:
parent
8fe78f5ca8
commit
d8b020c427
1 changed files with 3 additions and 0 deletions
|
|
@ -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')
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue