Change the _generated_keys directory for unittests to be under tests/files/.
parent
ad5c282e9a
commit
1780c7489a
|
@ -191,6 +191,7 @@ class GPGTestCase(unittest.TestCase):
|
||||||
self.keyring = self.gpg.keyring
|
self.keyring = self.gpg.keyring
|
||||||
self.secring = self.gpg.secring
|
self.secring = self.gpg.secring
|
||||||
self.insecure_prng = False
|
self.insecure_prng = False
|
||||||
|
self.gpg._keys_dir = os.path.join(_files, 'generated-keys')
|
||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
"""This is called once per self.test_* method after the test run."""
|
"""This is called once per self.test_* method after the test run."""
|
||||||
|
|
Loading…
Reference in New Issue