diff options
author | Tomás Touceda <chiiph@leap.se> | 2013-07-12 14:53:05 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2013-07-12 14:53:05 -0300 |
commit | 8b5e745eb274be5b38c99d1b6121521ec2023475 (patch) | |
tree | e7bb8041f7f1133323bdce79c24814d26b2726f9 /src/leap/common/testing | |
parent | d071efe20a285e579111f568e2ff994a6171249f (diff) | |
parent | 9bd0262664a5cc50957646908af8fe7c92b00cc8 (diff) |
Merge branch 'release-0.2.6'
Diffstat (limited to 'src/leap/common/testing')
-rw-r--r-- | src/leap/common/testing/basetest.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/common/testing/basetest.py b/src/leap/common/testing/basetest.py index 8890bf9..54826d5 100644 --- a/src/leap/common/testing/basetest.py +++ b/src/leap/common/testing/basetest.py @@ -68,7 +68,8 @@ class BaseLeapTest(unittest.TestCase): # safety check! please do not wipe my home... # XXX needs to adapt to non-linuces leap_assert( - cls.tempdir.startswith('/tmp/leap_tests-'), + cls.tempdir.startswith('/tmp/leap_tests-') or + cls.tempdir.startswith('/var/folder'), "beware! tried to remove a dir which does not " "live in temporal folder!") shutil.rmtree(cls.tempdir) |