aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_fuzzing.py
blob: 4b4253d872eec81c0045942fb7caa08f03c1b3fa (plain)
1
2
3
4
5
6
7
8
9
10
11
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