mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-30 07:16:19 +00:00
Create a better expectation
If we pass all this stuff to Popen we should expect to see it from get_argv() right?
This commit is contained in:
parent
28435d65c1
commit
3bde012ea1
@ -117,7 +117,8 @@ class GetArgvTests(SyncTestCase):
|
||||
from subprocess import (
|
||||
PIPE,
|
||||
)
|
||||
returncode = Popen([executable, save_argv_path.path] + argv, stdin=PIPE, stdout=PIPE, stderr=PIPE).wait()
|
||||
argv = [executable, save_argv_path.path] + argv
|
||||
returncode = Popen(argv, stdin=PIPE, stdout=PIPE, stderr=PIPE).wait()
|
||||
self.assertThat(
|
||||
0,
|
||||
Equals(returncode),
|
||||
|
Loading…
x
Reference in New Issue
Block a user