dev-python/python-gnupg: Clean old up

This commit is contained in:
Michał Górny
2018-01-06 10:00:27 +01:00
parent 9ef553f2eb
commit 26241b380c
3 changed files with 0 additions and 47 deletions

View File

@@ -1,20 +0,0 @@
--- python-gnupg-0.3.6/gnupg.py
+++ python-gnupg-0.3.6/gnupg.py
@@ -1078,6 +1078,7 @@
def search_keys(self, query, keyserver='pgp.mit.edu'):
""" search keyserver by query (using --search-keys option)
+ # doctest: +SKIP
>>> import shutil
>>> shutil.rmtree('keys')
>>> gpg = GPG(gnupghome='keys')
--- python-gnupg-0.3.6/test_gnupg.py
+++ python-gnupg-0.3.6/test_gnupg.py
@@ -493,6 +493,7 @@
os.remove(fn)
logger.debug("test_file_encryption_and_decryption ends")
+ @unittest.skip("requires network access")
def test_search_keys(self):
"Test that searching for keys works"
r = self.gpg.search_keys('<vinay_sajip@hotmail.com>')