aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/05_test_detection.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/05_test_detection.py')
-rw-r--r--tests/05_test_detection.py5
1 files changed, 4 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