diff options
author | Guido Günther <agx@sigxcpu.org> | 2016-09-09 19:28:42 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2016-09-12 08:52:14 +0200 |
commit | 76d9b6a38e1cc78b960ea6026957b41dcbb7b002 (patch) | |
tree | 6cf72aa9841e9bc9a61852cbf5735c30cfde55ce | |
parent | 83e1f33e7ffc3de20140bd43aeda86cb93ed45a4 (diff) |
test_PristineTar: flake8 clean
-rw-r--r-- | tests/test_PristineTar.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_PristineTar.py b/tests/test_PristineTar.py index 74d51272..6a2ec087 100644 --- a/tests/test_PristineTar.py +++ b/tests/test_PristineTar.py @@ -42,6 +42,7 @@ def test_create(): >>> repo = gbp.deb.git.DebianGitRepository.create(dirs['repo']) """ + def test_empty_repo(): """ Empty repos have no branch pristine-tar branch @@ -58,6 +59,7 @@ def test_empty_repo(): False """ + def test_commit_dir(): """ Empty repos have no branch pristine-tar branch @@ -72,6 +74,7 @@ def test_commit_dir(): >>> repo.create_branch('upstream') """ + def test_create_tarball(): """ Create a tarball from a git tree @@ -85,6 +88,7 @@ def test_create_tarball(): >>> gbp.command_wrappers.Command('gzip', [ '-n', '%s/../upstream_1.0.orig.tar' % dirs['repo']])() """ + def test_pristine_tar_commit(): """ Commit the delta to the pristine-tar branch @@ -97,6 +101,7 @@ def test_pristine_tar_commit(): >>> repo.pristine_tar.commit('../upstream_1.0.orig.tar.gz', 'upstream') """ + def test_pristine_has_commit(): """ Find delta on the pristine tar branch @@ -119,6 +124,7 @@ def test_pristine_has_commit(): True """ + def test_pristine_tar_checkout(): """ Checkout a tarball using pristine-tar @@ -131,6 +137,7 @@ def test_pristine_tar_checkout(): >>> repo.pristine_tar.checkout('upstream', '1.0', 'gzip', '..') """ + def test_pristine_tar_checkout_nonexistent(): """ Checkout a tarball that does not exist using pristine-tar |