From b8f6d0ab873df7b1c724058a41657cf1d5c5f7cd Mon Sep 17 00:00:00 2001 From: jstilley Date: Wed, 15 May 2024 08:19:23 -0700 Subject: [PATCH] Wednesday morning - first attempt --- armi/bookkeeping/db/tests/test_databaseInterface.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/armi/bookkeeping/db/tests/test_databaseInterface.py b/armi/bookkeeping/db/tests/test_databaseInterface.py index ba11f0634..1312b5d7e 100644 --- a/armi/bookkeeping/db/tests/test_databaseInterface.py +++ b/armi/bookkeeping/db/tests/test_databaseInterface.py @@ -480,6 +480,11 @@ def test_badDBName(self): # has the same name as the run to avoid overwriting. dbi.initDB() + # sometimes this crumb is being left, let's delete it + crumb = os.path.join(PROJECT_ROOT, "armiRun.h5") + if os.path.exists(crumb): + os.remove(crumb) + class TestStandardFollowOn(unittest.TestCase): """Tests related to doing restart runs (loading from DB with Standard operator)."""