Skip to content

Commit f0276ca

Browse files
author
Jussi Kukkonen
committed
test_repository_tool: Add missing clear_all flag
Without this the next create_*db() call will fail meaning pytest test_repository_tool.py fails on every test after this one. Signed-off-by: Jussi Kukkonen <[email protected]>
1 parent de8649e commit f0276ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_repository_tool.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1110,8 +1110,8 @@ def setUp(self):
11101110

11111111

11121112
def tearDown(self):
1113-
tuf.roledb.clear_roledb()
1114-
tuf.keydb.clear_keydb()
1113+
tuf.roledb.clear_roledb(clear_all=True)
1114+
tuf.keydb.clear_keydb(clear_all=True)
11151115

11161116

11171117

0 commit comments

Comments
 (0)