Tests: fixed assertion in test_variables_dynamic.

This commit is contained in:
Andrei Zeliankou 2022-11-15 00:42:12 +00:00
parent 0d3b31e671
commit 2c2156e236

View file

@ -261,10 +261,13 @@ Connection: close
def test_variables_dynamic(self):
self.set_format('$header_foo$cookie_foo$arg_foo')
self.get(
url='/?foo=h',
headers={'Foo': 'b', 'Cookie': 'foo=la', 'Connection': 'close'},
)['status'] = 200
assert (
self.get(
url='/?foo=h',
headers={'Foo': 'b', 'Cookie': 'foo=la', 'Connection': 'close'},
)['status']
== 200
)
assert self.wait_for_record(r'^blah$') is not None
def test_variables_dynamic_arguments(self):