diff options
Diffstat (limited to '')
-rw-r--r-- | test/test_php_basic.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/test/test_php_basic.py b/test/test_php_basic.py index d4617ee6..fa1484a3 100644 --- a/test/test_php_basic.py +++ b/test/test_php_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('php')
- if module_missed:
- raise unittest.SkipTest('Unit has no ' + module_missed + ' module')
+ unit.TestUnit().check_modules('php')
def test_php_get(self):
resp = self.get()
|