summaryrefslogtreecommitdiffstats
path: root/tests/test_wrapper.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_wrapper.py')
-rw-r--r--tests/test_wrapper.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_wrapper.py b/tests/test_wrapper.py
index 136f7f11..e18ceb19 100644
--- a/tests/test_wrapper.py
+++ b/tests/test_wrapper.py
@@ -304,6 +304,7 @@ class SetupGnuPG(RepoWrapperTestCase):
304 """Make sure it works completely.""" 304 """Make sure it works completely."""
305 with TemporaryDirectory() as tempdir: 305 with TemporaryDirectory() as tempdir:
306 self.wrapper.home_dot_repo = tempdir 306 self.wrapper.home_dot_repo = tempdir
307 self.wrapper.gpg_dir = os.path.join(self.wrapper.home_dot_repo, 'gnupg')
307 self.assertTrue(self.wrapper.SetupGnuPG(True)) 308 self.assertTrue(self.wrapper.SetupGnuPG(True))
308 with open(os.path.join(tempdir, 'keyring-version'), 'r') as fp: 309 with open(os.path.join(tempdir, 'keyring-version'), 'r') as fp:
309 data = fp.read() 310 data = fp.read()