aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/05_test_detection.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2012-01-13 09:07:19 +0100
committerGuido Günther <agx@sigxcpu.org>2012-01-22 19:45:26 +0100
commit5b5dbf61244708d9d234a3ef90ce85cd4f35f259 (patch)
tree4ac0abfab8629011418c4bc6852b423295b1a2f3 /tests/05_test_detection.py
parent63b24cef4db5277eff7b38bbe359fc30f9d28b90 (diff)
PristineTar: move to separate module
and make it accessible from GitRepository to group checkout/checkin/lookup.
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