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/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/tests.py')
-rwxr-xr-x | python/tests/tests.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/python/tests/tests.py b/python/tests/tests.py index d7f2b99e..a8e902b4 100755 --- a/python/tests/tests.py +++ b/python/tests/tests.py @@ -2,14 +2,12 @@ # -*- coding: UTF-8 -*- -# PyLasso -- Python bindings for Lasso library +# 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: Nicolas Clapies <nclapies@entrouvert.com> -# Valery Febvre <vfebvre@easter-eggs.com> -# 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 @@ -33,8 +31,10 @@ import unittest from XmlTestRunner import XmlTestRunner -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') testSuites = ( |