diff options
Diffstat (limited to 'tests/end2end/features/conftest.py')
-rw-r--r-- | tests/end2end/features/conftest.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/end2end/features/conftest.py b/tests/end2end/features/conftest.py index 87748a43a..65f934d9f 100644 --- a/tests/end2end/features/conftest.py +++ b/tests/end2end/features/conftest.py @@ -562,6 +562,9 @@ def check_header(quteproc, header, value): print(data) if value == '<unset>': assert header not in data['headers'] + elif value.startswith("'") and value.endswith("'"): # literal match + actual = data['headers'][header] + assert actual == value[1:-1] else: actual = data['headers'][header] assert testutils.pattern_match(pattern=value, value=actual) |