aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2012-02-09 16:11:35 +0100
committerGuido Günther <agx@sigxcpu.org>2012-02-09 16:21:00 +0100
commitd279757c3fe0776d110ff73e77b14c9846e61927 (patch)
treef6eaf97218ff00542374bcf91e9da1473e2b6038 /tests
parent6640bff2ee4067514cb436267e5123cd34ad4210 (diff)
PristineTar: fix links in testcases
Diffstat (limited to 'tests')
-rw-r--r--tests/test_PristineTar.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/test_PristineTar.py b/tests/test_PristineTar.py
index fe5e6135..cfe51de7 100644
--- a/tests/test_PristineTar.py
+++ b/tests/test_PristineTar.py
@@ -3,11 +3,11 @@
"""
Test pristine-tar related methods in
- L{gbp.deb.PristineTar}
+ - L{gbp.deb.PristineTar}
and
- L{gbp.deb.git.DebianGitRepository}
+ - L{gbp.deb.git.DebianGitRepository}
This testcase creates this reposity:
@@ -26,7 +26,7 @@ def test_create():
Create a repository
Methods tested:
- - L{gbp.deb.DebianGitRepository.create}
+ - L{gbp.deb.git.DebianGitRepository.create}
>>> import os, gbp.deb.git
>>> repo = gbp.deb.git.DebianGitRepository.create(repo_dir)
@@ -37,8 +37,8 @@ def test_empty_repo():
Empty repos have no branch pristine-tar branch
Methods tested:
- - L{gbp.deb.DebianGitRepository.has_pristine_tar_branch}
- -L {gbp.deb.PristineTar.has_commit}
+ - L{gbp.deb.git.DebianGitRepository.has_pristine_tar_branch}
+ - L{gbp.deb.pristinetar.PristineTar.has_commit}
>>> import gbp.deb.git
>>> repo = gbp.deb.git.DebianGitRepository(repo_dir)
@@ -53,8 +53,8 @@ def test_commit_dir():
Empty repos have no branch pristine-tar branch
Methods tested:
- - L{gbp.git.repository.commit_dir}
- - L{gbp.git.repository.create_branch}
+ - L{gbp.git.repository.GitRepository.commit_dir}
+ - L{gbp.git.repository.GitRepository.create_branch}
>>> import gbp.deb.git
>>> repo = gbp.deb.git.DebianGitRepository(repo_dir)
@@ -67,7 +67,7 @@ def test_create_tarball():
Create a tarball from a git tree
Methods tested:
- -L {gbp.git.repository.archive}
+ - L{gbp.deb.git.DebianGitRepository.archive}
>>> import gbp.deb.git
>>> repo = gbp.deb.git.DebianGitRepository(repo_dir)
@@ -79,7 +79,7 @@ def test_pristine_tar_commit():
Commit the delta to the pristine-tar branch
Methods tested:
- -L {gbp.deb.PristineTar.commit}
+ - L{gbp.deb.pristinetar.PristineTar.commit}
>>> import gbp.deb.git
>>> repo = gbp.deb.git.DebianGitRepository(repo_dir)
@@ -91,8 +91,8 @@ def test_pristine_has_commit():
Find delta on the pristine tar branch
Methods tested:
- -L {gbp.deb.PristineTar.has_commit}
- -L {gbp.deb.PristineTar.get_commit}
+ - L{gbp.deb.pristinetar.PristineTar.has_commit}
+ - L{gbp.deb.pristinetar.PristineTar.get_commit}
>>> import gbp.deb.git
>>> repo = gbp.deb.git.DebianGitRepository(repo_dir)
@@ -113,7 +113,7 @@ def test_pristine_tar_checkout():
Checkout a tarball using pristine-tar
Methods tested:
- -L {gbp.deb.PristineTar.checkout}
+ - L{gbp.deb.pristinetar.PristineTar.checkout}
>>> import gbp.deb.git
>>> repo = gbp.deb.git.DebianGitRepository(repo_dir)