Skip to content

Commit

Permalink
Remove autopause from testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Baekalfen committed Oct 10, 2022
1 parent f0ecb26 commit 1643f38
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions tests/test_basics.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ def test_argv_parser(*args):
empty = parser.parse_args(file_that_exists.split(" ")).__dict__
for k, v in {
"ROM": file_that_exists,
"autopause": False,
"bootrom": None,
"debug": False,
"loadstate": None,
Expand All @@ -109,16 +108,9 @@ def test_argv_parser(*args):

# Check flags become True
flags = parser.parse_args(
f"{file_that_exists} --debug --autopause --profiling --rewind --no-input --log-level INFO".split(" ")
f"{file_that_exists} --debug --profiling --rewind --no-input --log-level INFO".split(" ")
).__dict__
for k, v in {
"autopause": True,
"debug": True,
"no_input": True,
"log_level": "INFO",
"profiling": True,
"rewind": True
}.items():
for k, v in {"debug": True, "no_input": True, "log_level": "INFO", "profiling": True, "rewind": True}.items():
assert flags[k] == v


Expand Down

0 comments on commit 1643f38

Please sign in to comment.