[git] GPGME - branch, master, updated. gpgme-1.11.1-307-gb9aea3b

[email protected] (by Ben McGinnes)
Newsgroups gmane.comp.encryption.gpg.cvs
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG Made Easy".

The branch, master has been updated
       via  b9aea3b9c2c2762a9ae8d677196f82acc6a1c028 (commit)
      from  7c9f49a4991c1ccd0cb582875207b373d4fccf50 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b9aea3b9c2c2762a9ae8d677196f82acc6a1c028
Author: Ben McGinnes <[email protected]>
Date:   Thu Sep 27 10:07:08 2018 +1000

    tests: python bindings
    
    * Fixed the final assertion to look for what will actually be reported
      in that case instead of something else (i.e. it looks for an
      IMPORT_ERROR status code).

diff --git a/lang/python/tests/t-import.py b/lang/python/tests/t-import.py
index 8d8a699..82d3a4e 100755
--- a/lang/python/tests/t-import.py
+++ b/lang/python/tests/t-import.py
@@ -82,4 +82,4 @@ try:
     result = c.key_import(b"thisisnotakey")
 except ValueError:
     pass
-assert result.considered == 0
+assert result == "IMPORT_PROBLEM"

-----------------------------------------------------------------------

Summary of changes:
 lang/python/tests/t-import.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
GnuPG Made Easy
http://git.gnupg.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.