aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/tests/t-trustlist.py
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2017-02-17 11:18:56 +0000
committerJustus Winter <[email protected]>2017-02-17 11:18:56 +0000
commitde8494b16bc50c60a8438f2cae1f8c88e8949f7a (patch)
tree3fae3b3fd43eb9e860fc446415dccd0d6358044c /lang/python/tests/t-trustlist.py
parentpython: Fix using strings as commands in the assuan protocol. (diff)
downloadgpgme-de8494b16bc50c60a8438f2cae1f8c88e8949f7a.tar.gz
gpgme-de8494b16bc50c60a8438f2cae1f8c88e8949f7a.zip
python: Fix teardown of ephemeral contexts.
* lang/python/tests/support.py (EphemeralContext): New function. * lang/python/tests/t-quick-key-creation.py: Use the new function to manage ephemeral contexts. * lang/python/tests/t-quick-key-manipulation.py: Likewise. * lang/python/tests/t-quick-subkey-creation.py: Likewise. -- Previously, there was a problem with cleaning up ephemeral home directories. shutil.rmtree deleted the agents main socket, gpg-agent detected that, and deleted the other sockets as well, racing shutil.rmtree which did not cope will with that. Fix this by asking the agent nicely to shut down. Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'lang/python/tests/t-trustlist.py')
0 files changed, 0 insertions, 0 deletions