summaryrefslogtreecommitdiffhomepage
path: root/test/test_access_log.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2023-05-25 16:56:14 +0100
committerAndrei Zeliankou <zelenkov@nginx.com>2023-05-25 16:56:14 +0100
commit0132e552d0b9e8b724015728b5fbd7dad9d2edcb (patch)
treea24bd7e26e99e1b99b3d7ec806fb478c2388fd5e /test/test_access_log.py
parent18fcc07c7796889fe1cc4bc86564459ccd387ae7 (diff)
downloadunit-0132e552d0b9e8b724015728b5fbd7dad9d2edcb.tar.gz
unit-0132e552d0b9e8b724015728b5fbd7dad9d2edcb.tar.bz2
Tests: "temp_dir" fixture used were possible.
Diffstat (limited to 'test/test_access_log.py')
-rw-r--r--test/test_access_log.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_access_log.py b/test/test_access_log.py
index 86afb628..12f62aa9 100644
--- a/test/test_access_log.py
+++ b/test/test_access_log.py
@@ -291,7 +291,7 @@ Connection: close
skip_alert(r'failed to apply new conf')
assert 'error' in self.conf(
- f'{option.temp_dir}/blah/access.log',
+ f'{temp_dir}/blah/access.log',
'access_log/path',
), 'access_log path incorrect'