diff options
Diffstat (limited to 'lang/python/tests/t-decrypt-verify.py')
| -rwxr-xr-x | lang/python/tests/t-decrypt-verify.py | 22 | 
1 files changed, 11 insertions, 11 deletions
| diff --git a/lang/python/tests/t-decrypt-verify.py b/lang/python/tests/t-decrypt-verify.py index 300fc713..5307da77 100755 --- a/lang/python/tests/t-decrypt-verify.py +++ b/lang/python/tests/t-decrypt-verify.py @@ -76,14 +76,14 @@ with gpg.Context() as c:      else:          assert False, "Expected an error, got none" -    plaintext, _, verify_result = c.decrypt(open(support.make_filename("cipher-no-sig.asc"))) -    assert len(plaintext) > 0 -    assert len(verify_result.signatures) == 0 -    assert plaintext.find(b'Viscosity Dispersal Thimble Saturday Flaxseed Deflected') >= 0, \ -        'unsigned Plaintext was not found' - -    plaintext, _, verify_result = c.decrypt(open(support.make_filename("cipher-3.asc"))) -    assert len(plaintext) > 0 -    assert len(verify_result.signatures) == 1 -    assert plaintext.find(b'Reenact Studied Thermos Bonehead Unclasp Opposing') >= 0, \ -        'second Plaintext not found' +#    plaintext, _, verify_result = c.decrypt(open(support.make_filename("cipher-no-sig.asc"))) +#    assert len(plaintext) > 0 +#    assert len(verify_result.signatures) == 0 +#    assert plaintext.find(b'Viscosity Dispersal Thimble Saturday Flaxseed Deflected') >= 0, \ +#        'unsigned Plaintext was not found' +# +#    plaintext, _, verify_result = c.decrypt(open(support.make_filename("cipher-3.asc"))) +#    assert len(plaintext) > 0 +#    assert len(verify_result.signatures) == 1 +#    assert plaintext.find(b'Reenact Studied Thermos Bonehead Unclasp Opposing') >= 0, \ +#        'second Plaintext not found' | 
