mirror of
https://github.com/9001/copyparty.git
synced 2025-08-16 08:32:13 -06:00
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 a new issue