aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/test_GitRepository.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_GitRepository.py')
-rw-r--r--tests/test_GitRepository.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_GitRepository.py b/tests/test_GitRepository.py
index 01b96da8..684ea7bb 100644
--- a/tests/test_GitRepository.py
+++ b/tests/test_GitRepository.py
@@ -110,10 +110,13 @@ def test_create_branch():
Methods tested:
- L{gbp.git.GitRepository.create_branch}
+ - L{gbp.git.GitRepository.branch_contains}
>>> import gbp.git, shutil
>>> repo = gbp.git.GitRepository(repo_dir)
>>> repo.create_branch("foo")
+ >>> repo.branch_contains("foo", 'HEAD')
+ True
"""
def test_delete_branch():