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): def test_variables_dynamic(self):
self.set_format('$header_foo$cookie_foo$arg_foo') self.set_format('$header_foo$cookie_foo$arg_foo')
assert (
self.get( self.get(
url='/?foo=h', url='/?foo=h',
headers={'Foo': 'b', 'Cookie': 'foo=la', 'Connection': 'close'}, headers={'Foo': 'b', 'Cookie': 'foo=la', 'Connection': 'close'},
)['status'] = 200 )['status']
== 200
)
assert self.wait_for_record(r'^blah$') is not None assert self.wait_for_record(r'^blah$') is not None
def test_variables_dynamic_arguments(self): def test_variables_dynamic_arguments(self):