Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/python-gnupg/files: python-gnupg-0.3.6-skip-search-keys-tests.patch
Date: Mon, 10 Feb 2014 05:00:49
Message-Id: 20140210050045.A23F52004E@flycatcher.gentoo.org
1 radhermit 14/02/10 05:00:45
2
3 Added: python-gnupg-0.3.6-skip-search-keys-tests.patch
4 Log:
5 Version bump.
6
7 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
8
9 Revision Changes Path
10 1.1 dev-python/python-gnupg/files/python-gnupg-0.3.6-skip-search-keys-tests.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-gnupg/files/python-gnupg-0.3.6-skip-search-keys-tests.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-gnupg/files/python-gnupg-0.3.6-skip-search-keys-tests.patch?rev=1.1&content-type=text/plain
14
15 Index: python-gnupg-0.3.6-skip-search-keys-tests.patch
16 ===================================================================
17 --- python-gnupg-0.3.6/gnupg.py
18 +++ python-gnupg-0.3.6/gnupg.py
19 @@ -1078,6 +1078,7 @@
20 def search_keys(self, query, keyserver='pgp.mit.edu'):
21 """ search keyserver by query (using --search-keys option)
22
23 + # doctest: +SKIP
24 >>> import shutil
25 >>> shutil.rmtree('keys')
26 >>> gpg = GPG(gnupghome='keys')
27 --- python-gnupg-0.3.6/test_gnupg.py
28 +++ python-gnupg-0.3.6/test_gnupg.py
29 @@ -493,6 +493,7 @@
30 os.remove(fn)
31 logger.debug("test_file_encryption_and_decryption ends")
32
33 + @unittest.skip("requires network access")
34 def test_search_keys(self):
35 "Test that searching for keys works"
36 r = self.gpg.search_keys('<vinay_sajip@×××××××.com>')