diff options
author | Justus Winter <[email protected]> | 2016-06-01 10:50:32 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2016-06-01 10:50:32 +0000 |
commit | c88c9ef384b6f7bda9a61b58f26c2f89ae25f684 (patch) | |
tree | 1bfe7d48dd532508572fa86072495695db5934b8 /lang/python/tests/t-sig-notation.py | |
parent | core: Set notation flags for verify. (diff) | |
download | gpgme-c88c9ef384b6f7bda9a61b58f26c2f89ae25f684.tar.gz gpgme-c88c9ef384b6f7bda9a61b58f26c2f89ae25f684.zip |
tests: Fix notation tests.
* lang/python/tests/t-sig-notation.py (check_result): Check critical
flag.
* tests/gpg/t-sig-notation.c (check_result): Likewise.
Fixes-commit: 1cacd7d0
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'lang/python/tests/t-sig-notation.py')
-rwxr-xr-x | lang/python/tests/t-sig-notation.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lang/python/tests/t-sig-notation.py b/lang/python/tests/t-sig-notation.py index 2d832ef2..cb4a48e3 100755 --- a/lang/python/tests/t-sig-notation.py +++ b/lang/python/tests/t-sig-notation.py @@ -44,9 +44,8 @@ def check_result(result): "Expected {!r}, got {!r}".format(value, r.value) assert r.human_readable \ == bool(flags&constants.SIG_NOTATION_HUMAN_READABLE) - # xxx notyet - #assert r.human_readable \ - # == bool(flags&constants.SIG_NOTATION_CRITICAL) + assert r.critical \ + == bool(flags&constants.SIG_NOTATION_CRITICAL) assert len(expected_notations) == 0 |