summaryrefslogtreecommitdiffhomepage
path: root/test/test_python_basic.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_python_basic.py')
-rw-r--r--test/test_python_basic.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/test_python_basic.py b/test/test_python_basic.py
index f2a5b9f6..1869103f 100644
--- a/test/test_python_basic.py
+++ b/test/test_python_basic.py
@@ -1,10 +1,9 @@
-import unittest
-import unit
+from unit.control import TestControl
-class TestUnitPythonBasic(unit.TestUnitControl):
+class TestPythonBasic(TestControl):
def setUpClass():
- unit.TestUnit().check_modules('python')
+ TestControl().check_modules('python')
conf_app = {
"app": {
@@ -181,4 +180,4 @@ class TestUnitPythonBasic(unit.TestUnitControl):
if __name__ == '__main__':
- TestUnitPythonBasic.main()
+ TestPythonBasic.main()