Stop tests from leaving files around after execution

This commit is contained in:
bgbsww
2024-02-03 09:48:59 -05:00
parent 174938a52a
commit 93c9c58c4d
12 changed files with 156 additions and 150 deletions

View File

@@ -43,6 +43,12 @@ class TestUtilities(unittest.TestCase):
self.test_dir = os.path.join(
FreeCAD.getHomePath(), "Mod", "AddonManager", "AddonManagerTest", "data"
)
@classmethod
def tearDownClass(cls):
try:
os.remove("AM_INSTALLATION_DIGEST.txt")
except FileNotFoundError:
pass
def test_recognized_git_location(self):
recognized_urls = [