diff options
author | Bruno Wagner Goncalves <bwagner@thoughtworks.com> | 2014-08-21 12:44:29 -0300 |
---|---|---|
committer | Bruno Wagner Goncalves <bwagner@thoughtworks.com> | 2014-08-21 12:44:29 -0300 |
commit | b9005640877047f5167533e20f5b7d14bef9e9c9 (patch) | |
tree | c34c7e17883cb025671f8c1d3b1f03a8219f0d85 /src/leap/mail/smtp | |
parent | 910b86b3f7fecc760d5da02ef89ac1d6fd62299c (diff) |
On the mac, the tempdir is not created at /tmp, so checking the tempdir format instead
Diffstat (limited to 'src/leap/mail/smtp')
-rw-r--r-- | src/leap/mail/smtp/tests/__init__.py | 2 |
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) |