aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/pyunit/dom/__init__.py
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2020-12-28 18:24:47 +0100
committerPatrick Lehmann <Patrick.Lehmann@plc2.de>2020-12-28 18:24:47 +0100
commit42a1c81bbd4759dc50dfec089be35cb69c2ab088 (patch)
tree10ca1f992c674b61503ce3398542d60ac007c715 /testsuite/pyunit/dom/__init__.py
parent1c912a59c73a1ecb4c8b4d5d16bfc097d63d8546 (diff)
downloadghdl-42a1c81bbd4759dc50dfec089be35cb69c2ab088.tar.gz
ghdl-42a1c81bbd4759dc50dfec089be35cb69c2ab088.tar.bz2
ghdl-42a1c81bbd4759dc50dfec089be35cb69c2ab088.zip
Added testsuites so all Python unit tests can be run with a single command.
Diffstat (limited to 'testsuite/pyunit/dom/__init__.py')
-rw-r--r--testsuite/pyunit/dom/__init__.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/pyunit/dom/__init__.py b/testsuite/pyunit/dom/__init__.py
new file mode 100644
index 000000000..768810d72
--- /dev/null
+++ b/testsuite/pyunit/dom/__init__.py
@@ -0,0 +1,10 @@
+from unittest import TestSuite
+
+from testsuite.pyunit.dom import SimpleEntity
+
+def load_tests(loader, testCases, pattern):
+ suite = TestSuite()
+
+ suite.addTests(loader.loadTestsFromModule(SimpleEntity))
+
+ return suite