summaryrefslogtreecommitdiff
path: root/src/leap/mail/smtp
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/mail/smtp')
-rw-r--r--src/leap/mail/smtp/tests/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/mail/smtp/tests/__init__.py b/src/leap/mail/smtp/tests/__init__.py
index 1459cea..85419cb 100644
--- a/src/leap/mail/smtp/tests/__init__.py
+++ b/src/leap/mail/smtp/tests/__init__.py
@@ -148,7 +148,7 @@ class TestCaseWithKeyManager(BaseLeapTest):
os.environ["PATH"] = self.old_path
os.environ["HOME"] = self.old_home
# safety check
- assert self.tempdir.startswith('/tmp/leap_tests-')
+ assert 'leap_tests-' in self.tempdir
shutil.rmtree(self.tempdir)