From fcbfe4b605e0746e80a229b9b4755c7c738f11b8 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 3 May 2015 10:18:18 +1200 Subject: [PATCH] Adapt to new literal escaping style in pathod --- test/test_fuzzing.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/test_fuzzing.py b/test/test_fuzzing.py index 646ce5c16..3e5fc1001 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 - -