We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76e599d commit 385153aCopy full SHA for 385153a
tests/test_git.py
@@ -216,8 +216,8 @@ def test_get_current_remote_name(git_repo):
216
new_branch = 'another-branch-with-no-upstream'
217
git_repo.run(['checkout', '-B', new_branch])
218
assert (
219
- git_repo.get_current_remote_name() is None
220
- ), 'branch w/o upstream should return None'
+ git_repo.get_current_remote_name() == new_branch
+ ), 'branch w/o upstream should return branch only'
221
222
new_remote_name = 'new_remote_name'
223
git_repo.set_remote(
0 commit comments