Merge pull request #12247 from bgbsww/bgbswwFixTestArtifacts
Stop tests from leaving files around after execution
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user