diff options
author | hut <hut@lavabit.com> | 2010-08-29 19:16:57 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-08-29 19:16:57 +0200 |
commit | ec823be00aa7175ebcb836a240a20f6389159c2e (patch) | |
tree | 24fe7386e630acf7ccf7903c09f252b434aee18a /test/all_tests.py | |
parent | fd29d7e6bb22d6176717ac5dc9e3c8f88009732b (diff) | |
download | ranger-ec823be00aa7175ebcb836a240a20f6389159c2e.tar.gz |
Removed symlink in test/
Diffstat (limited to 'test/all_tests.py')
-rwxr-xr-x | test/all_tests.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/all_tests.py b/test/all_tests.py index 7cfc855f..0c184df5 100755 --- a/test/all_tests.py +++ b/test/all_tests.py @@ -19,8 +19,12 @@ Run all the tests inside this directory as a test suite. Usage: ./all_tests.py [verbosity] """ -import os +import os.path import sys +rangerpath = os.path.join(os.path.dirname(__file__), '..') +if sys.path[1] != rangerpath: + sys.path[1:1] = [rangerpath] + import unittest if __name__ == '__main__': |