testtools convention - actual value comes first

This commit is contained in:
Jean-Paul Calderone 2021-01-10 20:19:15 -05:00
parent 3bde012ea1
commit b5f0e21ef8

View File

@ -120,13 +120,13 @@ class GetArgvTests(SyncTestCase):
argv = [executable, save_argv_path.path] + argv
returncode = Popen(argv, stdin=PIPE, stdout=PIPE, stderr=PIPE).wait()
self.assertThat(
0,
Equals(returncode),
returncode,
Equals(0),
)
with open(saved_argv_path.path, "rt") as f:
saved_argv = load(f)
self.assertThat(
argv,
Equals(saved_argv),
saved_argv,
Equals(argv),
)