diff options
author | Guido Günther <agx@sigxcpu.org> | 2012-01-13 09:07:19 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2012-01-22 19:45:26 +0100 |
commit | 5b5dbf61244708d9d234a3ef90ce85cd4f35f259 (patch) | |
tree | 4ac0abfab8629011418c4bc6852b423295b1a2f3 /tests | |
parent | 63b24cef4db5277eff7b38bbe359fc30f9d28b90 (diff) |
PristineTar: move to separate module
and make it accessible from GitRepository to group
checkout/checkin/lookup.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/05_test_detection.py | 5 | ||||
-rw-r--r-- | tests/test_Changelog.py | 2 |
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' + """ |