tests: fix for f9954bc4e5
This commit is contained in:
parent
ec14c3944e
commit
21db8833dc
@ -371,7 +371,7 @@ class TestDots(unittest.TestCase):
|
||||
return " ".join(tar)
|
||||
|
||||
def curl(self, url, uname, binary=False, req=b""):
|
||||
req = req or hdr(url, uname)
|
||||
req = req or hdr(url.replace("th=x", "th=j"), uname)
|
||||
conn = self.conn.setbuf(req)
|
||||
HttpCli(conn).run()
|
||||
if binary:
|
||||
|
Loading…
Reference in New Issue
Block a user