summaryrefslogtreecommitdiff
path: root/tests/python
diff options
context:
space:
mode:
Diffstat (limited to 'tests/python')
-rwxr-xr-xtests/python/PyUnitTests.py4
-rw-r--r--tests/python/UnitTests.py4
-rw-r--r--tests/python/corelib/numerics/.gitignore1
-rw-r--r--tests/python/corelib/values/__init__.py0
-rw-r--r--tests/python/numerics/.gitignore (renamed from tests/python/corelib/.gitignore)0
-rw-r--r--tests/python/numerics/BasicAmount.py (renamed from tests/python/corelib/numerics/BasicAmount.py)0
-rw-r--r--tests/python/numerics/CommodityAmount.py (renamed from tests/python/corelib/numerics/CommodityAmount.py)0
-rw-r--r--tests/python/numerics/__init__.py (renamed from tests/python/corelib/__init__.py)0
-rw-r--r--tests/python/numerics/balances/__init__.py (renamed from tests/python/corelib/balances/__init__.py)0
-rw-r--r--tests/python/numerics/values/__init__.py (renamed from tests/python/corelib/numerics/__init__.py)0
10 files changed, 6 insertions, 3 deletions
diff --git a/tests/python/PyUnitTests.py b/tests/python/PyUnitTests.py
new file mode 100755
index 00000000..71267798
--- /dev/null
+++ b/tests/python/PyUnitTests.py
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+PYTHONPATH="%builddir%":"%srcdir%":$PYTHONPATH \
+ python "%srcdir%"/tests/python/UnitTests.py
diff --git a/tests/python/UnitTests.py b/tests/python/UnitTests.py
index 7a10c9e6..84b8432b 100644
--- a/tests/python/UnitTests.py
+++ b/tests/python/UnitTests.py
@@ -1,7 +1,7 @@
from unittest import TextTestRunner, TestSuite
-import tests.python.corelib.numerics.BasicAmount as BasicAmount
-import tests.python.corelib.numerics.CommodityAmount as CommodityAmount
+import tests.python.numerics.BasicAmount as BasicAmount
+import tests.python.numerics.CommodityAmount as CommodityAmount
suites = [
BasicAmount.suite(),
diff --git a/tests/python/corelib/numerics/.gitignore b/tests/python/corelib/numerics/.gitignore
deleted file mode 100644
index 0d20b648..00000000
--- a/tests/python/corelib/numerics/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-*.pyc
diff --git a/tests/python/corelib/values/__init__.py b/tests/python/corelib/values/__init__.py
deleted file mode 100644
index e69de29b..00000000
--- a/tests/python/corelib/values/__init__.py
+++ /dev/null
diff --git a/tests/python/corelib/.gitignore b/tests/python/numerics/.gitignore
index 0d20b648..0d20b648 100644
--- a/tests/python/corelib/.gitignore
+++ b/tests/python/numerics/.gitignore
diff --git a/tests/python/corelib/numerics/BasicAmount.py b/tests/python/numerics/BasicAmount.py
index bdc7dbe9..bdc7dbe9 100644
--- a/tests/python/corelib/numerics/BasicAmount.py
+++ b/tests/python/numerics/BasicAmount.py
diff --git a/tests/python/corelib/numerics/CommodityAmount.py b/tests/python/numerics/CommodityAmount.py
index 80f58b21..80f58b21 100644
--- a/tests/python/corelib/numerics/CommodityAmount.py
+++ b/tests/python/numerics/CommodityAmount.py
diff --git a/tests/python/corelib/__init__.py b/tests/python/numerics/__init__.py
index e69de29b..e69de29b 100644
--- a/tests/python/corelib/__init__.py
+++ b/tests/python/numerics/__init__.py
diff --git a/tests/python/corelib/balances/__init__.py b/tests/python/numerics/balances/__init__.py
index e69de29b..e69de29b 100644
--- a/tests/python/corelib/balances/__init__.py
+++ b/tests/python/numerics/balances/__init__.py
diff --git a/tests/python/corelib/numerics/__init__.py b/tests/python/numerics/values/__init__.py
index e69de29b..e69de29b 100644
--- a/tests/python/corelib/numerics/__init__.py
+++ b/tests/python/numerics/values/__init__.py