summaryrefslogtreecommitdiffhomepage
path: root/test/test_configuration.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_configuration.py')
-rw-r--r--test/test_configuration.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/test_configuration.py b/test/test_configuration.py
index b710e145..b9aad8a4 100644
--- a/test/test_configuration.py
+++ b/test/test_configuration.py
@@ -1,13 +1,10 @@
-import unit
import unittest
+import unit
class TestUnitConfiguration(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_json_applications(self):
self.assertIn('error', self.put('/applications', '"{}"'),