summaryrefslogtreecommitdiffhomepage
path: root/test/test_php_application.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2023-05-25 14:26:12 +0100
committerAndrei Zeliankou <zelenkov@nginx.com>2023-05-25 14:26:12 +0100
commit3e4fa1e2022970dee003bea0932ea0c10f8744ba (patch)
treed23b32b9a6e33dc57694547f1ec1427f1a19a01a /test/test_php_application.py
parent47cdfb6f30f7d56bffb806cc860e20806ea62f50 (diff)
downloadunit-3e4fa1e2022970dee003bea0932ea0c10f8744ba.tar.gz
unit-3e4fa1e2022970dee003bea0932ea0c10f8744ba.tar.bz2
Tests: removed unused variables.
Diffstat (limited to 'test/test_php_application.py')
-rw-r--r--test/test_php_application.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_php_application.py b/test/test_php_application.py
index 6e1d190a..30b37f12 100644
--- a/test/test_php_application.py
+++ b/test/test_php_application.py
@@ -807,7 +807,7 @@ opcache.preload_user = {option.user or getpass.getuser()}
assert r['headers']['X-Pid'] != pid, 'new instance'
assert r['headers']['X-Cached'] == '1', 'cached'
- def test_php_application_opcache_preload_chdir(self, temp_dir):
+ def test_php_application_opcache_preload_chdir(self):
self.load('opcache')
self.check_opcache()
@@ -817,7 +817,7 @@ opcache.preload_user = {option.user or getpass.getuser()}
assert self.get()['headers']['X-Cached'] == '0', 'not cached'
assert self.get()['headers']['X-Cached'] == '1', 'cached'
- def test_php_application_opcache_preload_ffr(self, temp_dir):
+ def test_php_application_opcache_preload_ffr(self):
self.load('opcache')
self.check_opcache()