Tests: simplified module checking.

This commit is contained in:
Andrey Zelenkov
2019-04-09 16:14:42 +03:00
parent 7b839bf5da
commit af24e4dec4
18 changed files with 21 additions and 35 deletions

View File

@@ -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')