Merge branch 'main' into economics_menu_upgrade

This commit is contained in:
Jeroen Bouma
2022-03-14 20:35:25 +01:00
committed by GitHub
8 changed files with 75 additions and 5 deletions

View File

@@ -159,7 +159,7 @@ def test_print_help():
("help/help", ["help", "help"]),
("q", ["quit"]),
("h", []),
("r", ["quit", "quit", "reset", "stocks", "ba"]),
("r", ["quit", "quit", "reset", "stocks", "ba", "load TSLA"]),
],
)
def test_switch(an_input, expected_queue):
@@ -207,12 +207,12 @@ def test_call_cls(mocker):
(
"call_reset",
[],
["quit", "quit", "reset", "stocks", "ba"],
["quit", "quit", "reset", "stocks", "ba", "load TSLA"],
),
(
"call_reset",
["help"],
["quit", "quit", "reset", "stocks", "ba", "help"],
["quit", "quit", "reset", "stocks", "ba", "load TSLA", "help"],
),
],
)