diff options
author | Andrey Zelenkov <zelenkov@nginx.com> | 2019-04-09 16:14:42 +0300 |
---|---|---|
committer | Andrey Zelenkov <zelenkov@nginx.com> | 2019-04-09 16:14:42 +0300 |
commit | af24e4dec453af7e3dcb45347cb59bfcbc037843 (patch) | |
tree | 91c79759ac13e3b43f9856f1394217eef2feca81 /test/test_php_application.py | |
parent | 7b839bf5da772d4bf61a3be95fbdbb6d4591ba63 (diff) | |
download | unit-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.py | 3 |
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'] |