Skip to content

Commit 3f66394

Browse files
authored
remove git_info.json after test (#168)
1 parent 0353e3b commit 3f66394

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/version_test.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ def test_git_utilities(self):
1818
self.assertEqual(commit_id, info.get("commit_id"))
1919
self.assertEqual(commit_date, info.get("commit_date"))
2020

21+
try:
22+
os.remove(os.path.join(here, "git_info.json"))
23+
except:
24+
pass
25+
2126
def test_git_info_provider(self):
2227
info_provider = GitInfoProvider()
2328

0 commit comments

Comments
 (0)