diff options
Diffstat (limited to 'bindings/python/tests')
| -rwxr-xr-x | bindings/python/tests/binding_tests.py | 4 | ||||
| -rwxr-xr-x | bindings/python/tests/profiles_tests.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/bindings/python/tests/binding_tests.py b/bindings/python/tests/binding_tests.py index 872d2f3c..389b474a 100755 --- a/bindings/python/tests/binding_tests.py +++ b/bindings/python/tests/binding_tests.py @@ -39,8 +39,8 @@ import lasso try: dataDir except NameError: - srcdir = os.environ.get('srcdir', '.') - dataDir = '%s/../../../tests/data' % srcdir + srcdir = os.environ.get('TOP_SRCDIR', '.') + dataDir = '%s/tests/data' % srcdir class BindingTestCase(unittest.TestCase): diff --git a/bindings/python/tests/profiles_tests.py b/bindings/python/tests/profiles_tests.py index b1dd0442..7ac50dce 100755 --- a/bindings/python/tests/profiles_tests.py +++ b/bindings/python/tests/profiles_tests.py @@ -40,8 +40,8 @@ import lasso try: dataDir except NameError: - srcdir = os.environ.get('srcdir', '.') - dataDir = '%s/../../../tests/data' % srcdir + srcdir = os.environ.get('TOP_SRCDIR', '.') + dataDir = '%s/tests/data' % srcdir class ServerTestCase(unittest.TestCase): |
