Skip to content
Snippets Groups Projects
Commit f2454cd9 authored by Fabian Heinrich's avatar Fabian Heinrich
Browse files

Auto stylecheck

parent a983d27e
No related branches found
No related tags found
1 merge request!96More hook updates
...@@ -57,7 +57,7 @@ def test_serving_window(): ...@@ -57,7 +57,7 @@ def test_serving_window():
), "ServingWindow should return the item for not ordered meals." ), "ServingWindow should return the item for not ordered meals."
assert ( assert (
serving_window.pick_up() is None serving_window.pick_up() is None
), "Player should not be able to pick something from the ServingWindow." ), "Player should not be able to pick something from the ServingWindow."
...@@ -78,7 +78,7 @@ def test_dispenser(): ...@@ -78,7 +78,7 @@ def test_dispenser():
dispenser.occupied_by.name == "MyIngredient" dispenser.occupied_by.name == "MyIngredient"
), "Initialized dispenser should be occupied by dispensing item" ), "Initialized dispenser should be occupied by dispensing item"
assert ( assert (
dispenser.pick_up().name == "MyIngredient" dispenser.pick_up().name == "MyIngredient"
), "Picked up item should be the dispensing item" ), "Picked up item should be the dispensing item"
assert ( assert (
dispenser.occupied_by is not None dispenser.occupied_by is not None
...@@ -96,6 +96,6 @@ def test_dispenser(): ...@@ -96,6 +96,6 @@ def test_dispenser():
dispenser.pick_up() dispenser.pick_up()
), "Config undo_dispenser_pickup==True should allow the player to drop off picked up items" ), "Config undo_dispenser_pickup==True should allow the player to drop off picked up items"
assert ( assert (
dispenser.drop_off(dispenser.pick_up()) is None dispenser.drop_off(dispenser.pick_up()) is None
), "Config undo_dispenser_pickup==True should allow the player to drop off picked up items" ), "Config undo_dispenser_pickup==True should allow the player to drop off picked up items"
# check combine? # check combine?
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment