diff options
author | Andrey Zelenkov <zelenkov@nginx.com> | 2017-12-13 15:26:32 +0300 |
---|---|---|
committer | Andrey Zelenkov <zelenkov@nginx.com> | 2017-12-13 15:26:32 +0300 |
commit | b680e944d65d56e92919287247bd47e13ad030e9 (patch) | |
tree | f0e7f39db4061210f61db767cd8c02474456055f /test | |
parent | d2bf066b1ceabcb951c0c8be3c21b5ca4a833ed6 (diff) | |
download | unit-b680e944d65d56e92919287247bd47e13ad030e9.tar.gz unit-b680e944d65d56e92919287247bd47e13ad030e9.tar.bz2 |
Tests: removed unused decorators.
Diffstat (limited to '')
-rw-r--r-- | test/test_configuration.py | 3 | ||||
-rw-r--r-- | test/test_php_basic.py | 3 | ||||
-rw-r--r-- | test/test_python_basic.py | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/test/test_configuration.py b/test/test_configuration.py index 7853bb21..b710e145 100644 --- a/test/test_configuration.py +++ b/test/test_configuration.py @@ -3,8 +3,7 @@ import unittest class TestUnitConfiguration(unit.TestUnitControl):
- @classmethod
- def setUpClass(cls):
+ def setUpClass():
u = unit.TestUnit()
module_missed = u.check_modules('python')
if module_missed:
diff --git a/test/test_php_basic.py b/test/test_php_basic.py index b2051b01..d4617ee6 100644 --- a/test/test_php_basic.py +++ b/test/test_php_basic.py @@ -3,8 +3,7 @@ import unittest class TestUnitBasic(unit.TestUnitControl):
- @classmethod
- def setUpClass(cls):
+ def setUpClass():
u = unit.TestUnit()
module_missed = u.check_modules('php')
if module_missed:
diff --git a/test/test_python_basic.py b/test/test_python_basic.py index 155407b7..659c53ff 100644 --- a/test/test_python_basic.py +++ b/test/test_python_basic.py @@ -3,8 +3,7 @@ import unittest class TestUnitBasic(unit.TestUnitControl):
- @classmethod
- def setUpClass(cls):
+ def setUpClass():
u = unit.TestUnit()
module_missed = u.check_modules('python')
if module_missed:
|