Merge pull request #12247 from bgbsww/bgbswwFixTestArtifacts

Stop tests from leaving files around after execution
This commit is contained in:
sliptonic
2024-02-12 18:56:21 +01:00
committed by GitHub
12 changed files with 157 additions and 150 deletions

View File

@@ -44,6 +44,13 @@ class TestUtilities(unittest.TestCase):
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 = [
"https://github.com/FreeCAD/FreeCAD",