We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 307f198 commit ba4cbaeCopy full SHA for ba4cbae
test/test_git.py
@@ -306,11 +306,10 @@ def test_cmd_override(self):
306
):
307
self.assertRaises(GitCommandNotFound, self.git.version)
308
309
- def test_refresh(self):
310
- # Test a bad git path refresh.
+ def test_refresh_bad_git_path(self):
311
self.assertRaises(GitCommandNotFound, refresh, "yada")
312
313
- # Test a good path refresh.
+ def test_refresh_good_git_path(self):
314
which_cmd = "where" if os.name == "nt" else "command -v"
315
path = os.popen("{0} git".format(which_cmd)).read().strip().split("\n")[0]
316
refresh(path)
0 commit comments