diff options
Diffstat (limited to 'test/test_fuzzing.py')
-rw-r--r-- | test/test_fuzzing.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/test_fuzzing.py b/test/test_fuzzing.py new file mode 100644 index 00000000..4b4253d8 --- /dev/null +++ b/test/test_fuzzing.py @@ -0,0 +1,12 @@ +import tservers + +""" + A collection of errors turned up by fuzzing. +""" + +class TestFuzzy(tservers.HTTPProxTest): + def test_idna_err(self): + req = r'get:"http://localhost:%s":i10,"\xc6"' + p = self.pathoc() + assert p.request(req%self.server.port).status_code == 400 + |