From af24e4dec453af7e3dcb45347cb59bfcbc037843 Mon Sep 17 00:00:00 2001 From: Andrey Zelenkov Date: Tue, 9 Apr 2019 16:14:42 +0300 Subject: Tests: simplified module checking. --- test/test_configuration.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/test_configuration.py') diff --git a/test/test_configuration.py b/test/test_configuration.py index eb56a548..74596ed8 100644 --- a/test/test_configuration.py +++ b/test/test_configuration.py @@ -3,8 +3,7 @@ from unit.control import TestControl class TestConfiguration(TestControl): - def setUpClass(): - TestControl().check_modules('python') + prerequisites = ['python'] def test_json_empty(self): self.assertIn('error', self.conf(''), 'empty') -- cgit