<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme/lang/python/tests, branch ben/estreams-fix</title>
<subtitle>GnuPG Made Easy.</subtitle>
<id>http://git.bktus.com/gpgfrontend/gpgme/atom?h=ben%2Festreams-fix</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/gpgme/atom?h=ben%2Festreams-fix'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/'/>
<updated>2018-08-18T10:29:14Z</updated>
<entry>
<title>Python bindings tests: Near PEP8 compliance</title>
<updated>2018-08-18T10:29:14Z</updated>
<author>
<name>Ben McGinnes</name>
<email>ben@adversary.org</email>
</author>
<published>2018-08-18T10:29:14Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=5facba45c83f7daaacc49e66306e13a35aeb74be'/>
<id>urn:sha1:5facba45c83f7daaacc49e66306e13a35aeb74be</id>
<content type='text'>
* PEP8 compliance for the vast majoeity of the tests.
</content>
</entry>
<entry>
<title>Make GNUPGHOME for tests overridable</title>
<updated>2018-08-06T07:30:47Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2018-08-06T07:30:47Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=d09d19fa9fe1e81dd819b32208b4bd09f83e3918'/>
<id>urn:sha1:d09d19fa9fe1e81dd819b32208b4bd09f83e3918</id>
<content type='text'>
* lang/python/tests/Makefile.am,
lang/qt/tests/Makefile.am,
tests/Makefile.am,
tests/gpg/Makefile.am,
tests/gpgsm/Makefile.am,
tests/opassuan/Makefile.am (GNUPGHOME): Make variable explict.

--
If the build directory has too long path, gpgme could fail.
This is similar to

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=847206

In order to fix that, this patch extracts the GNUPGHOME variable
to be presented directly in the Makefile and thus overridable by
command line option.

A build system can then create a symlink to the GNUPGHOME directory
in /tmp and use that symlink as the GNUPGHOME directory
thus making the path very short.

GnuPG-Bug-Id: T4091

Patch provided by vlmarek
</content>
</entry>
<entry>
<title>python bindings: core key import</title>
<updated>2018-06-16T23:28:30Z</updated>
<author>
<name>Ben McGinnes</name>
<email>ben@adversary.org</email>
</author>
<published>2018-06-16T23:28:30Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=0e762608ef5a598030b8d0e56261a830e1b7b724'/>
<id>urn:sha1:0e762608ef5a598030b8d0e56261a830e1b7b724</id>
<content type='text'>
* The foundation of a pythonic key import function authored by Jacob
  Adams.
* A unit testing script for the same function originally authored by
  Tobias Mueller
* Added DCO reference for Jacob Adams to the GPGME AUTHORS file.
* Additional details regarding this patch are available here:
  https://dev.gnupg.org/T4001

Signed-off-by: Ben McGinnes &lt;ben@adversary.org&gt;
</content>
</entry>
<entry>
<title>python: key expiration datetime stamp tests</title>
<updated>2018-05-05T02:27:17Z</updated>
<author>
<name>Ben McGinnes</name>
<email>ben@adversary.org</email>
</author>
<published>2018-05-05T02:27:17Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=46da79e3de99a7b65748994921d6aab73b9974e7'/>
<id>urn:sha1:46da79e3de99a7b65748994921d6aab73b9974e7</id>
<content type='text'>
* Changed the expiration date for the generated test key to NYE this
  century, rather than the NYE this millennium as originally suggested
  in job #3815.
* This covers the lifetimes of current users (except, maybe, some very
  healthy millennials) as well as the 32-bit clock end date in 2038;
  without falling foul of OpenPGP's 2106 expiration.
</content>
</entry>
<entry>
<title>tests: Makefile portability.</title>
<updated>2018-02-15T02:14:49Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2018-02-15T02:14:49Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=b5ec21b9baf017b4cee88c9ef3cc1a638547cd20'/>
<id>urn:sha1:b5ec21b9baf017b4cee88c9ef3cc1a638547cd20</id>
<content type='text'>
* tests/gpg/Makefile.am: Don't use "export" directive.
* tests/gpgsm/Makefile.am: Ditto.
* lang/qt/tests/Makefile.am: Ditto.
* lang/python/tests/Makefile.am: Ditto.

--

GnuPG-bug-id: 3056
Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>build: More Makefile fix.</title>
<updated>2018-02-15T01:27:59Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2018-02-15T01:27:59Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=c9a351f5af289c8f6919854c40f235c781b76ec7'/>
<id>urn:sha1:c9a351f5af289c8f6919854c40f235c781b76ec7</id>
<content type='text'>
* lang/python/tests/Makefile.am: Avoid target with '/'.

Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>python: Default whence argument for Data() to SEEK_SET.</title>
<updated>2017-12-04T07:10:06Z</updated>
<author>
<name>Tobias Mueller</name>
<email>muelli@cryptobitch.de</email>
</author>
<published>2017-08-22T15:48:25Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=3cf9aedc92b6c65d2cb34037e52b9a299637d03b'/>
<id>urn:sha1:3cf9aedc92b6c65d2cb34037e52b9a299637d03b</id>
<content type='text'>
* lang/python/gpgme.i: copied signature from gpgme.h and defaulted the
value to SEEK_SET.
* lang/python/tests/t-data.py: Added a test for no second argument
--

Having to import the os package when wanting to read a Data object is a
slight annoyance. With SWIG, we can define default parameters. This
change defaults the whence argument to SEEK_SET which is how StringIO
and BytesIO behave.

Signed-off-by: Tobias Mueller &lt;muelli@cryptobitch.de&gt;
</content>
</entry>
<entry>
<title>tests: Make portability fix.</title>
<updated>2017-11-21T06:35:10Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2017-11-21T06:35:10Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=c441fb73130f4c117094d7da4de9fe56f886e65d'/>
<id>urn:sha1:c441fb73130f4c117094d7da4de9fe56f886e65d</id>
<content type='text'>
* lang/python/tests/Makefile.am: Distinguish target and path.
* tests/gpg/Makefile.am: Ditto.
* tests/gpgsm/Makefile.am: Ditto.

--

GNU Make is powerful enough to match path to target (and vice versa),
but BSD make is not.

GnuPG-bug-id: 3056
Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>python: Support parallel build in tests</title>
<updated>2017-08-21T08:55:10Z</updated>
<author>
<name>Alon Bar-Lev</name>
<email>alon.barlev@gmail.com</email>
</author>
<published>2017-08-03T18:41:35Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=57c12593082e4ad302041269f1c35f2fe7d2fb1a'/>
<id>urn:sha1:57c12593082e4ad302041269f1c35f2fe7d2fb1a</id>
<content type='text'>
* lang/python/tests/Makefile.am: Depend xcheck with all which was lost
due to the check hack.

Signed-off-by: Alon Bar-Lev &lt;alon.barlev@gmail.com&gt;
</content>
</entry>
<entry>
<title>python: Improve keylist test.</title>
<updated>2017-08-21T08:54:10Z</updated>
<author>
<name>Justus Winter</name>
<email>justus@g10code.com</email>
</author>
<published>2017-08-21T08:54:10Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=70c8be9efe8de40bec0f0673589f3c9be7136674'/>
<id>urn:sha1:70c8be9efe8de40bec0f0673589f3c9be7136674</id>
<content type='text'>
* lang/python/tests/t-keylist.py: Check a keylist matching no keys.

Signed-off-by: Justus Winter &lt;justus@g10code.com&gt;
</content>
</entry>
</feed>
