blob: 8c19036d43a1d88ea603a2417a80e20d180c23c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/env python3
import os
import unittest
import sys
TOOLS_DIR=os.path.join(os.path.dirname(os.path.realpath(__file__)), "..")
sys.path.insert(0, TOOLS_DIR)
from lib.python.unittest_helper import TestUnits
if __name__ == "__main__":
loader = unittest.TestLoader()
suite = loader.discover(start_dir=os.path.join(TOOLS_DIR, "unittests"),
pattern="test*.py")
TestUnits().run("", suite=suite)
|