summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ08nY2017-08-01 02:43:55 +0200
committerJ08nY2017-08-01 02:43:55 +0200
commit3c995fba9f01a75daa395fcc62ce1737a2312501 (patch)
tree0c4c810d66ef539900d90f625f76ce4249a8d0f9
parent8d4fdb5017bdeee344d9908ddc98b51ae3b7c79b (diff)
downloadmailman-pgp-3c995fba9f01a75daa395fcc62ce1737a2312501.tar.gz
mailman-pgp-3c995fba9f01a75daa395fcc62ce1737a2312501.tar.zst
mailman-pgp-3c995fba9f01a75daa395fcc62ce1737a2312501.zip
-rw-r--r--src/mailman_pgp/model/tests/test_fs_key.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mailman_pgp/model/tests/test_fs_key.py b/src/mailman_pgp/model/tests/test_fs_key.py
index 3a4f859..18c9a29 100644
--- a/src/mailman_pgp/model/tests/test_fs_key.py
+++ b/src/mailman_pgp/model/tests/test_fs_key.py
@@ -16,6 +16,7 @@
# this program. If not, see <http://www.gnu.org/licenses/>.
""""""
+import time
from os.path import exists, join
from tempfile import TemporaryDirectory
from unittest import TestCase
@@ -57,6 +58,7 @@ class TestFSKey(TestCase):
key = FSKey(self.tmpdir.name, key_name, True)
+ time.sleep(2)
with open(key_path, 'w') as key_file:
key_file.write(str(new_key_data))