aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/05_test_detection.py5
-rw-r--r--tests/test_Changelog.py2
2 files changed, 6 insertions, 1 deletions
diff --git a/tests/05_test_detection.py b/tests/05_test_detection.py
index c9cd16cd..913a7b9d 100644
--- a/tests/05_test_detection.py
+++ b/tests/05_test_detection.py
@@ -16,9 +16,12 @@ class MockGitRepository:
self.with_branch = with_branch
self.subject = subject
- def has_branch(self, branch):
+ def has_pristine_tar_branch(self):
return self.with_branch
+ def pristine_tar_branch(self):
+ 'pristine-tar'
+
def grep_log(self, regex, branch):
return None
diff --git a/tests/test_Changelog.py b/tests/test_Changelog.py
index 97414abb..be22b8a2 100644
--- a/tests/test_Changelog.py
+++ b/tests/test_Changelog.py
@@ -158,6 +158,7 @@ def test_parse_eopch():
"""
def test_parse_name():
+ """
Methods tested:
- L{gbp.deb.changelog.ChangeLog.__init__}
@@ -168,3 +169,4 @@ def test_parse_name():
>>> cl = gbp.deb.changelog.ChangeLog(cl_debian)
>>> cl.name
'git-buildpackage'
+ """