Skip to content

Commit f4bda12

Browse files
committed
tests: remove existing test pin data before running the test
This makes e.g. debugging less painful.
1 parent 6daeb1a commit f4bda12

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test_jade.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4238,6 +4238,10 @@ def kill_agent(btagent):
42384238
if manage_agents:
42394239
btagent = start_agent(args.agentkeyfile)
42404240

4241+
# Remove PINs left over from previous test runs
4242+
for f in glob.glob("./*.pin"):
4243+
os.remove(f)
4244+
42414245
try:
42424246
info = get_jade_info()
42434247
if info:

0 commit comments

Comments
 (0)