summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2012-05-25 10:35:06 +0200
committerGuido Günther <agx@sigxcpu.org>2012-05-25 10:45:13 +0200
commita116edd739e9ff529058a2d9df6fe67bdb17670d (patch)
tree9815dfdfa489c4ad9e1cc5bd0b87712759b82bd0 /tests
parenta5f0d875d7779b2001fda0f436a4710dfa9a5d77 (diff)
Refactor deb helpers: move PristineTar class
Based on a patch by Markus Lehtonen This refactor is preparation to the upcoming rpm support.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_PristineTar.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/test_PristineTar.py b/tests/test_PristineTar.py
index f7eb5881..8a645246 100644
--- a/tests/test_PristineTar.py
+++ b/tests/test_PristineTar.py
@@ -3,7 +3,7 @@
"""
Test pristine-tar related methods in
- - L{gbp.deb.PristineTar}
+ - L{gbp.deb.DebianPristineTar}
and
@@ -38,7 +38,7 @@ def test_empty_repo():
Methods tested:
- L{gbp.deb.git.DebianGitRepository.has_pristine_tar_branch}
- - L{gbp.deb.pristinetar.PristineTar.has_commit}
+ - L{gbp.deb.pristinetar.DebianPristineTar.has_commit}
>>> import gbp.deb.git
>>> repo = gbp.deb.git.DebianGitRepository(repo_dir)
@@ -80,7 +80,7 @@ def test_pristine_tar_commit():
Commit the delta to the pristine-tar branch
Methods tested:
- - L{gbp.deb.pristinetar.PristineTar.commit}
+ - L{gbp.deb.pristinetar.DebianPristineTar.commit}
>>> import gbp.deb.git
>>> repo = gbp.deb.git.DebianGitRepository(repo_dir)
@@ -92,8 +92,8 @@ def test_pristine_has_commit():
Find delta on the pristine tar branch
Methods tested:
- - L{gbp.deb.pristinetar.PristineTar.has_commit}
- - L{gbp.deb.pristinetar.PristineTar.get_commit}
+ - L{gbp.deb.pristinetar.DebianPristineTar.has_commit}
+ - L{gbp.pkg.pristinetar.PristineTar.get_commit}
>>> import gbp.deb.git
>>> repo = gbp.deb.git.DebianGitRepository(repo_dir)
@@ -114,7 +114,7 @@ def test_pristine_tar_checkout():
Checkout a tarball using pristine-tar
Methods tested:
- - L{gbp.deb.pristinetar.PristineTar.checkout}
+ - L{gbp.deb.pristinetar.DebianPristineTar.checkout}
>>> import gbp.deb.git
>>> repo = gbp.deb.git.DebianGitRepository(repo_dir)