From 0132e552d0b9e8b724015728b5fbd7dad9d2edcb Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Thu, 25 May 2023 16:56:14 +0100 Subject: Tests: "temp_dir" fixture used were possible. --- test/test_variables.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test_variables.py') diff --git a/test/test_variables.py b/test/test_variables.py index 4b924147..970ad7b0 100644 --- a/test/test_variables.py +++ b/test/test_variables.py @@ -366,11 +366,11 @@ Connection: close check_no_cookie('fOo_bar=0') check_no_cookie('foo_bar=') - def test_variables_invalid(self): + def test_variables_invalid(self, temp_dir): def check_variables(format): assert 'error' in self.conf( { - 'path': f'{option.temp_dir}/access.log', + 'path': f'{temp_dir}/access.log', 'format': format, }, 'access_log', -- cgit