summaryrefslogtreecommitdiffhomepage
path: root/test/test_access_log.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_access_log.py
parent7b839bf5da772d4bf61a3be95fbdbb6d4591ba63 (diff)
downloadunit-af24e4dec453af7e3dcb45347cb59bfcbc037843.tar.gz
unit-af24e4dec453af7e3dcb45347cb59bfcbc037843.tar.bz2
Tests: simplified module checking.
Diffstat (limited to 'test/test_access_log.py')
-rw-r--r--test/test_access_log.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test_access_log.py b/test/test_access_log.py
index c58ee26f..1c8c29d7 100644
--- a/test/test_access_log.py
+++ b/test/test_access_log.py
@@ -6,8 +6,7 @@ from unit.applications.lang.python import TestApplicationPython
class TestAccessLog(TestApplicationPython):
- def setUpClass():
- TestApplicationPython().check_modules('python')
+ prerequisites = ['python']
def load(self, script):
super().load(script)