summaryrefslogtreecommitdiffhomepage
path: root/test/test_php_application.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_php_application.py
parent7b839bf5da772d4bf61a3be95fbdbb6d4591ba63 (diff)
downloadunit-af24e4dec453af7e3dcb45347cb59bfcbc037843.tar.gz
unit-af24e4dec453af7e3dcb45347cb59bfcbc037843.tar.bz2
Tests: simplified module checking.
Diffstat (limited to 'test/test_php_application.py')
-rw-r--r--test/test_php_application.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test_php_application.py b/test/test_php_application.py
index 6c7f7f4b..7e75a73d 100644
--- a/test/test_php_application.py
+++ b/test/test_php_application.py
@@ -3,8 +3,7 @@ import unittest
from unit.applications.lang.php import TestApplicationPHP
class TestPHPApplication(TestApplicationPHP):
- def setUpClass():
- TestApplicationPHP().check_modules('php')
+ prerequisites = ['php']
def before_disable_functions(self):
body = self.get()['body']