summaryrefslogtreecommitdiffhomepage
path: root/test/test_configuration.py
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2019-04-09 16:14:42 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2019-04-09 16:14:42 +0300
commitaf24e4dec453af7e3dcb45347cb59bfcbc037843 (patch)
tree91c79759ac13e3b43f9856f1394217eef2feca81 /test/test_configuration.py
parent7b839bf5da772d4bf61a3be95fbdbb6d4591ba63 (diff)
downloadunit-af24e4dec453af7e3dcb45347cb59bfcbc037843.tar.gz
unit-af24e4dec453af7e3dcb45347cb59bfcbc037843.tar.bz2
Tests: simplified module checking.
Diffstat (limited to '')
-rw-r--r--test/test_configuration.py3
1 files changed, 1 insertions, 2 deletions
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')