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.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/test_python_basic.py b/test/test_python_basic.py
index 659c53ff..a68f1bad 100644
--- a/test/test_python_basic.py
+++ b/test/test_python_basic.py
@@ -1,13 +1,10 @@
-import unit
import unittest
+import unit
class TestUnitBasic(unit.TestUnitControl):
def setUpClass():
- u = unit.TestUnit()
- module_missed = u.check_modules('python')
- if module_missed:
- raise unittest.SkipTest('Unit has no ' + module_missed + ' module')
+ unit.TestUnit().check_modules('python')
def test_python_get(self):
resp = self.get()