mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-03 11:44:11 +00:00
testtools convention - actual value comes first
This commit is contained in:
parent
3bde012ea1
commit
b5f0e21ef8
@ -120,13 +120,13 @@ class GetArgvTests(SyncTestCase):
|
|||||||
argv = [executable, save_argv_path.path] + argv
|
argv = [executable, save_argv_path.path] + argv
|
||||||
returncode = Popen(argv, stdin=PIPE, stdout=PIPE, stderr=PIPE).wait()
|
returncode = Popen(argv, stdin=PIPE, stdout=PIPE, stderr=PIPE).wait()
|
||||||
self.assertThat(
|
self.assertThat(
|
||||||
0,
|
returncode,
|
||||||
Equals(returncode),
|
Equals(0),
|
||||||
)
|
)
|
||||||
with open(saved_argv_path.path, "rt") as f:
|
with open(saved_argv_path.path, "rt") as f:
|
||||||
saved_argv = load(f)
|
saved_argv = load(f)
|
||||||
|
|
||||||
self.assertThat(
|
self.assertThat(
|
||||||
argv,
|
saved_argv,
|
||||||
Equals(saved_argv),
|
Equals(argv),
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user