mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
...
This commit is contained in:
parent
0bdde99372
commit
c3ee09d459
@ -233,7 +233,7 @@ class TestAuth(BaseTest):
|
||||
if curl:
|
||||
def docurl(data, *args):
|
||||
cmd = [curl] + list(args) + ['http://localhost:%d/closed' % server.address[1]]
|
||||
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=open(os.devnull, 'wb'))
|
||||
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.DEVNULL)
|
||||
x = p.stdout.read()
|
||||
p.wait()
|
||||
self.ae(x, data)
|
||||
|
Loading…
x
Reference in New Issue
Block a user