summaryrefslogtreecommitdiffstats
path: root/python/tests/tests.py
diff options
context:
space:
mode:
authorDamien Laniel <dlaniel@entrouvert.com>2007-10-10 09:31:03 +0000
committerDamien Laniel <dlaniel@entrouvert.com>2007-10-10 09:31:03 +0000
commit779d2e0251eaa8c18a61d30f01af3ecea0932e18 (patch)
tree27bb08a0bfb159bcb198e8d1df7dd90b11f01405 /python/tests/tests.py
parent144f9bed565c2a92842e78c0c0514b820e65321b (diff)
downloadlasso-779d2e0251eaa8c18a61d30f01af3ecea0932e18.tar.gz
lasso-779d2e0251eaa8c18a61d30f01af3ecea0932e18.tar.xz
lasso-779d2e0251eaa8c18a61d30f01af3ecea0932e18.zip
run idwsf tests only if lasso has idwsf support
Diffstat (limited to 'python/tests/tests.py')
-rwxr-xr-xpython/tests/tests.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/python/tests/tests.py b/python/tests/tests.py
index e5ea1f62..d4bd42dd 100755
--- a/python/tests/tests.py
+++ b/python/tests/tests.py
@@ -41,12 +41,16 @@ if not '../.libs' in sys.path:
sys.path.insert(0, '../.libs')
-testSuites = (
+testSuites = [
'binding_tests',
'profiles_tests',
'errorchecking_tests',
- 'idwsf2_tests'
- )
+ ]
+
+import lasso
+if lasso.WSF_SUPPORT:
+ testSuites.append('idwsf1_tests')
+ testSuites.append('idwsf2_tests')
# Parse command line options.