From 5b5dbf61244708d9d234a3ef90ce85cd4f35f259 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Fri, 13 Jan 2012 09:07:19 +0100 Subject: PristineTar: move to separate module and make it accessible from GitRepository to group checkout/checkin/lookup. --- tests/05_test_detection.py | 5 ++++- tests/test_Changelog.py | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'tests') 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' + """ -- cgit v1.2.3