summaryrefslogtreecommitdiffhomepage
path: root/test/test_python_isolation.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_python_isolation.py
parent47cdfb6f30f7d56bffb806cc860e20806ea62f50 (diff)
downloadunit-3e4fa1e2022970dee003bea0932ea0c10f8744ba.tar.gz
unit-3e4fa1e2022970dee003bea0932ea0c10f8744ba.tar.bz2
Tests: removed unused variables.
Diffstat (limited to 'test/test_python_isolation.py')
-rw-r--r--test/test_python_isolation.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_python_isolation.py b/test/test_python_isolation.py
index c524aea0..35ca4a56 100644
--- a/test/test_python_isolation.py
+++ b/test/test_python_isolation.py
@@ -125,7 +125,7 @@ class TestPythonIsolation(TestApplicationPython):
self.getjson(url='/?path=/proc/self')['body']['FileExists'] == True
), '/proc/self'
- def test_python_isolation_cgroup(self, is_su, temp_dir):
+ def test_python_isolation_cgroup(self, is_su):
if not is_su:
pytest.skip('requires root')
@@ -148,7 +148,7 @@ class TestPythonIsolation(TestApplicationPython):
assert len(cgroup_rel.parts) >= len(cgroup_abs.parts)
- def test_python_isolation_cgroup_two(self, is_su, temp_dir):
+ def test_python_isolation_cgroup_two(self, is_su):
if not is_su:
pytest.skip('requires root')