aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/pyunit/__init__.py
blob: eff53eb2f69429248508b6750b0b5d82e609bd49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from unittest import TestSuite

try:
	from testsuite.pyunit import libghdl, dom
except ModuleNotFoundError:
	from pyunit import libghdl, dom

def load_tests(loader, testCases, pattern):
	suite = TestSuite()

	suite.addTests(loader.loadTestsFromModule(libghdl))
	suite.addTests(loader.loadTestsFromModule(dom))

	return suite