From 6ec0ff35964c7805712d978625949f72ff5a63bc Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Wed, 7 Oct 2020 23:18:43 +0100 Subject: Tests: minor fixes. --- test/test_proxy.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'test/test_proxy.py') diff --git a/test/test_proxy.py b/test/test_proxy.py index 1476670c..d02c96a7 100644 --- a/test/test_proxy.py +++ b/test/test_proxy.py @@ -1,10 +1,12 @@ -import pytest import re import socket import time +import pytest + +from conftest import option +from conftest import skip_alert from unit.applications.lang.python import TestApplicationPython -from conftest import option, skip_alert class TestProxy(TestApplicationPython): @@ -215,7 +217,7 @@ Content-Length: 10 == header_value ), 'custom header' - header_value = '(),/:;<=>?@[\]{}\t !#$%&\'*+-.^_`|~' + header_value = r'(),/:;<=>?@[\]{}\t !#$%&\'*+-.^_`|~' assert ( self.get_http10( headers={'Host': 'localhost', 'Custom-Header': header_value} -- cgit