aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2018-11-24 19:22:34 +0100
committerGuido Günther <agx@sigxcpu.org>2018-11-24 19:46:00 +0100
commit0277c5477fd86ef1871b7b6cf04bc84192a0330d (patch)
treebb167ebac4d8b9d06461f3a17adce87392d8cf67 /tests
parentad904b89f001bf3c6b4548916b5e27399b9d6a5d (diff)
PristineTar: Don't fail if pristine-tar does't support signatures
Diffstat (limited to 'tests')
-rw-r--r--tests/doctests/test_PristineTar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/doctests/test_PristineTar.py b/tests/doctests/test_PristineTar.py
index 825ef042..15c614cf 100644
--- a/tests/doctests/test_PristineTar.py
+++ b/tests/doctests/test_PristineTar.py
@@ -169,7 +169,7 @@ def test_pristine_tar_checkout_with_sig():
>>> os.unlink(sf)
>>> repo.pristine_tar.checkout('upstream', '1.0', 'gzip', '..',
... signature=True)
- >>> os.path.exists(sf)
+ >>> os.path.exists(sf) or not repo.pristine_tar.has_feature_sig()
True
"""