summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--test/test_configuration.py3
-rw-r--r--test/test_php_basic.py3
-rw-r--r--test/test_python_basic.py3
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: