diff options
author | Andrei Zeliankou <zelenkov@nginx.com> | 2023-05-25 14:26:12 +0100 |
---|---|---|
committer | Andrei Zeliankou <zelenkov@nginx.com> | 2023-05-25 14:26:12 +0100 |
commit | 3e4fa1e2022970dee003bea0932ea0c10f8744ba (patch) | |
tree | d23b32b9a6e33dc57694547f1ec1427f1a19a01a /test/test_static_chroot.py | |
parent | 47cdfb6f30f7d56bffb806cc860e20806ea62f50 (diff) | |
download | unit-3e4fa1e2022970dee003bea0932ea0c10f8744ba.tar.gz unit-3e4fa1e2022970dee003bea0932ea0c10f8744ba.tar.bz2 |
Tests: removed unused variables.
Diffstat (limited to 'test/test_static_chroot.py')
-rw-r--r-- | test/test_static_chroot.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_static_chroot.py b/test/test_static_chroot.py index c5a35d82..812e14ea 100644 --- a/test/test_static_chroot.py +++ b/test/test_static_chroot.py @@ -74,14 +74,14 @@ class TestStaticChroot(TestApplicationProto): assert self.get(url='/dir/file')['status'] == 200, 'chroot' - def test_static_chroot_empty(self, temp_dir): + def test_static_chroot_empty(self): assert 'success' in self.update_action('') assert self.get(url='/dir/file')['status'] == 200, 'empty absolute' assert 'success' in self.update_action("", ".$uri") assert self.get(url=self.test_path)['status'] == 200, 'empty relative' - def test_static_chroot_relative(self, is_su, temp_dir): + def test_static_chroot_relative(self, is_su): if is_su: pytest.skip("Does't work under root.") |