From b680e944d65d56e92919287247bd47e13ad030e9 Mon Sep 17 00:00:00 2001 From: Andrey Zelenkov Date: Wed, 13 Dec 2017 15:26:32 +0300 Subject: Tests: removed unused decorators. --- test/test_configuration.py | 3 +-- test/test_php_basic.py | 3 +-- 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: -- cgit