summaryrefslogtreecommitdiffhomepage
path: root/test/test_php_basic.py
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2019-03-28 18:43:13 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2019-03-28 18:43:13 +0300
commit19eba1730a1ca839ed62a37f34c204f580d1b653 (patch)
treee9f54ca64fc7db66e33350826c76ef3814cfa4a0 /test/test_php_basic.py
parent06b9a11494561e309114266bfe3bb001352b596c (diff)
downloadunit-19eba1730a1ca839ed62a37f34c204f580d1b653.tar.gz
unit-19eba1730a1ca839ed62a37f34c204f580d1b653.tar.bz2
Tests: unit module refactoring.
Diffstat (limited to 'test/test_php_basic.py')
-rw-r--r--test/test_php_basic.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/test_php_basic.py b/test/test_php_basic.py
index 7ad2cae1..0e8caacf 100644
--- a/test/test_php_basic.py
+++ b/test/test_php_basic.py
@@ -1,10 +1,9 @@
-import unittest
-import unit
+from unit.control import TestControl
-class TestUnitPHPBasic(unit.TestUnitControl):
+class TestPHPBasic(TestControl):
def setUpClass():
- unit.TestUnit().check_modules('php')
+ TestControl().check_modules('php')
conf_app = {
"app": {
@@ -168,4 +167,4 @@ class TestUnitPHPBasic(unit.TestUnitControl):
if __name__ == '__main__':
- TestUnitPHPBasic.main()
+ TestPHPBasic.main()