From b034bf67034c4f0e966ebd207ba2f407f6f15fa8 Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Thu, 25 May 2023 16:56:14 +0100 Subject: Tests: assertion related fixes. --- test/test_variables.py | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'test/test_variables.py') diff --git a/test/test_variables.py b/test/test_variables.py index 970ad7b0..f1d66b52 100644 --- a/test/test_variables.py +++ b/test/test_variables.py @@ -354,13 +354,16 @@ Connection: close reg = r'^1$' assert self.search_in_log(reg) is None - self.get( - headers={ - 'Host': 'localhost', - 'Cookie': 'foo_bar=1', - 'Connection': 'close', - }, - )['status'] == 200 + assert ( + self.get( + headers={ + 'Host': 'localhost', + 'Cookie': 'foo_bar=1', + 'Connection': 'close', + }, + )['status'] + == 200 + ) assert self.wait_for_record(reg) is not None check_no_cookie('fOo_bar=0') -- cgit