summaryrefslogtreecommitdiffhomepage
path: root/test/test_proxy.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/test_proxy.py8
1 files changed, 5 insertions, 3 deletions
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}