Tests: fixed assertion in test_variables_dynamic.
This commit is contained in:
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user