aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_fuzzing.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2015-05-03 10:18:18 +1200
committerAldo Cortesi <aldo@nullcube.com>2015-05-03 10:18:18 +1200
commitfcbfe4b605e0746e80a229b9b4755c7c738f11b8 (patch)
tree6d93213ca08017558415beca71755deb492bd189 /test/test_fuzzing.py
parente1d3ebb446760be512850ee78030687c30145a79 (diff)
downloadmitmproxy-fcbfe4b605e0746e80a229b9b4755c7c738f11b8.tar.gz
mitmproxy-fcbfe4b605e0746e80a229b9b4755c7c738f11b8.tar.bz2
mitmproxy-fcbfe4b605e0746e80a229b9b4755c7c738f11b8.zip
Adapt to new literal escaping style in pathod
Diffstat (limited to 'test/test_fuzzing.py')
-rw-r--r--test/test_fuzzing.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/test_fuzzing.py b/test/test_fuzzing.py
index 646ce5c1..3e5fc100 100644
--- a/test/test_fuzzing.py
+++ b/test/test_fuzzing.py
@@ -27,7 +27,7 @@ class TestFuzzy(tservers.HTTPProxTest):
assert p.request(req%self.server.port).status_code == 400
def test_invalid_upstream(self):
- req = r"get:'http://localhost:%s/p/200:i10,\'+\''"
+ req = r"get:'http://localhost:%s/p/200:i10,\x27+\x27'"
p = self.pathoc()
assert p.request(req%self.server.port).status_code == 502
@@ -35,5 +35,3 @@ class TestFuzzy(tservers.HTTPProxTest):
req = r'200:d0'
p = self.pathod(req)
assert p.status_code == 502
-
-