Skip to content

Commit 195ecc3

Browse files
committed
fix(git-test): assure test does works on linux
It shows that the previous implementation was never really working on linux, and thus failed on travis as well for good reason. Closes #303
1 parent f2efb81 commit 195ecc3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

git/test/test_git.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,8 @@ def test_environment(self, rw_dir):
199199
try:
200200
remote.fetch()
201201
except GitCommandError as err:
202-
assert 'FOO' in str(err)
202+
assert 'ssh-origin' in str(err)
203+
assert err.status == 128
203204
# end
204205
# end
205206
# end if select.poll exists

0 commit comments

Comments
 (0)