diff options
author | Emmanuel Raviart <eraviart@entrouvert.com> | 2004-08-09 05:35:34 +0000 |
---|---|---|
committer | Emmanuel Raviart <eraviart@entrouvert.com> | 2004-08-09 05:35:34 +0000 |
commit | 4287b6402301342e3033f2b49b90ddf219cd638b (patch) | |
tree | 555727429b804bd609cd16144b612823de32f0fe /python/tests/errorchecking_tests.py | |
parent | 2fbb5e6dfb51f917a992a212572d6a2dbd91f6f0 (diff) | |
download | lasso-4287b6402301342e3033f2b49b90ddf219cd638b.tar.gz lasso-4287b6402301342e3033f2b49b90ddf219cd638b.tar.xz lasso-4287b6402301342e3033f2b49b90ddf219cd638b.zip |
Updated Python unit tests infrastructure, so that it can be reused for
independant simulation applications.
Diffstat (limited to 'python/tests/errorchecking_tests.py')
-rw-r--r-- | python/tests/errorchecking_tests.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/python/tests/errorchecking_tests.py b/python/tests/errorchecking_tests.py index 3faa65db..87cb2b1b 100644 --- a/python/tests/errorchecking_tests.py +++ b/python/tests/errorchecking_tests.py @@ -3,11 +3,11 @@ # Python unit tests for Lasso library +# By: Frederic Peters <fpeters@entrouvert.com> +# Emmanuel Raviart <eraviart@entrouvert.com> # # Copyright (C) 2004 Entr'ouvert # http://lasso.entrouvert.org -# -# Authors: Emmanuel Raviart <eraviart@entrouvert.com> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -27,8 +27,10 @@ import unittest import sys -sys.path.insert(0, '..') -sys.path.insert(0, '../.libs') +if not '..' in sys.path: + sys.path.insert(0, '..') +if not '../.libs' in sys.path: + sys.path.insert(0, '../.libs') import lasso |