Hi, I consider it a regular defect if unexplained, because the API somehow changed.
I ran into it while testing python3-gpgme on Debian Jessie.
Two testcases fail because of the changed gpgme behaviour to count more processed
"keys" than before.
pygpgme-0.3$ python3 -m unittest tests.test_import
F..F..
FAIL: test_import_concat (tests.test_import.ImportTestCase)
Traceback (most recent call last):
File "/home/bernhard/werkbank/2auto/pygpgme-0.3/tests/test_import.py", line 105, in
test_import_concat
self.assertEqual(result.considered, 3)
AssertionError: 5 != 3
FAIL: test_import_secret_file (tests.test_import.ImportTestCase)
Traceback (most recent call last):
File "/home/bernhard/werkbank/2auto/pygpgme-0.3/tests/test_import.py", line 58, in
test_import_secret_file
self.assertEqual(result.considered, 1)
AssertionError: 3 != 1
How to see the difference without pygpgme installed in Jessie with
Package: libgpgme11
Version: 1.6.0-99intevation1
Package: gnupg2
Version: 2.1.11-99intevation2
pygpgme-0.3/tests/keys$ LANG=C GNUPGHOME=~/tmp/dot.gnupg3 gpg2 --with-colons --import
key1.pub key1.sec key2.pub
gpg: Total number processed: 5
The same on wheezy:
Package: libgpgme11
Version: 1.3.1-0kk3
Package: gnupg2
Version: 2.0.25-99intevation2
ygpgme-0.3/tests/keys$ LANG=C GNUPGHOME=~/tmp/dot.gnupg gpg2 --with-colons --import
key1.pub key1.sec key2.pub
gpg: Total number processed: 3