diff options
Diffstat (limited to 'bindings/python/tests/profiles_tests.py')
| -rwxr-xr-x | bindings/python/tests/profiles_tests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bindings/python/tests/profiles_tests.py b/bindings/python/tests/profiles_tests.py index 40b917d2..84647b21 100755 --- a/bindings/python/tests/profiles_tests.py +++ b/bindings/python/tests/profiles_tests.py @@ -40,7 +40,8 @@ import lasso try: dataDir except NameError: - dataDir = '../../../tests/data' + srcdir = os.environ.get('srcdir', '.') + dataDir = '%s/../../../tests/data' % srcdir class ServerTestCase(unittest.TestCase): |
