Blacken the code base.
This commit is contained in:
parent
d585c1529d
commit
07d079f204
19 changed files with 138 additions and 168 deletions
|
|
@ -32,20 +32,24 @@ def test_play(expect):
|
|||
rig._hooks = []
|
||||
parser = rig.get_parser("test_play")
|
||||
parsed_args = parser.parse_args(args=["--doom", td, "scythe", "01"])
|
||||
with expect(os, times=1).execv(
|
||||
tdp.joinpath("dsda-doom").joinpath("exe"),
|
||||
[
|
||||
with (
|
||||
expect(os, times=1)
|
||||
.execv(
|
||||
tdp.joinpath("dsda-doom").joinpath("exe"),
|
||||
"-iwad",
|
||||
tdp.joinpath("iwads").joinpath("DOOM2.WAD"),
|
||||
"-file",
|
||||
tdp.joinpath("pwads").joinpath("scythe").joinpath("scythe.wad"),
|
||||
"-complevel",
|
||||
"2",
|
||||
"-skill",
|
||||
"4",
|
||||
"-warp",
|
||||
"01",
|
||||
]
|
||||
).thenReturn(None):
|
||||
[
|
||||
tdp.joinpath("dsda-doom").joinpath("exe"),
|
||||
"-iwad",
|
||||
tdp.joinpath("iwads").joinpath("DOOM2.WAD"),
|
||||
"-file",
|
||||
tdp.joinpath("pwads").joinpath("scythe").joinpath("scythe.wad"),
|
||||
"-complevel",
|
||||
"2",
|
||||
"-skill",
|
||||
"4",
|
||||
"-warp",
|
||||
"01",
|
||||
],
|
||||
)
|
||||
.thenReturn(None)
|
||||
):
|
||||
assert rig.run(parsed_args) is None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue