summaryrefslogtreecommitdiff
path: root/tests/test_GitRepository.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2012-06-30 12:43:26 +0200
committerGuido Günther <agx@sigxcpu.org>2012-06-30 12:51:18 +0200
commit92a744e5c8e9751f7336ddaac597ded2a7456d8f (patch)
treea4263c1ef4e43017f2a1277b33a62c99ebd1bba4 /tests/test_GitRepository.py
parentdd593a0facc0fb3ee7093e5c18f86427372f6998 (diff)
downloadgit-buildpackage-92a744e5c8e9751f7336ddaac597ded2a7456d8f.tar.gz
git-buildpackage-92a744e5c8e9751f7336ddaac597ded2a7456d8f.tar.bz2
git-buildpackage-92a744e5c8e9751f7336ddaac597ded2a7456d8f.zip
GitRepository: Add test that covers remote branches in has_branch()
Diffstat (limited to 'tests/test_GitRepository.py')
-rw-r--r--tests/test_GitRepository.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_GitRepository.py b/tests/test_GitRepository.py
index 1830c6c1..27dc291e 100644
--- a/tests/test_GitRepository.py
+++ b/tests/test_GitRepository.py
@@ -430,6 +430,8 @@ def test_clone():
['origin']
>>> clone.has_remote_repo('origin')
True
+ >>> clone.has_branch('origin/master', remote=True)
+ True
>>> clone.has_remote_repo('godiug')
False
"""