Change keyring/secring attrs to be based on settings in tests

testing/mmn/mktime_takes_localtime_not_gmtime
Isis Lovecruft 2013-05-22 16:57:41 +00:00
parent 2d19b7d771
commit e6538d6ca3
No known key found for this signature in database
GPG Key ID: A3ADB67A2CDB8B35
1 changed files with 3 additions and 3 deletions

View File

@ -151,9 +151,9 @@ class GPGTestCase(unittest.TestCase):
self.gpg = gnupg.GPG(binary='gpg', homedir=hd)
self.homedir = hd
self.gpg = gnupg.GPG(homedir=hd, binary='gpg')
self.keyring = os.path.join(self.homedir, 'pubring.gpg')
self.secring = os.path.join(self.homedir, 'secring.gpg')
self.keyring = self.gpg.keyring
self.secring = self.gpg.secring
self.insecure_prng = False
def tearDown(self):
"""This is called once per self.test_* method after the test run."""