Skip to content

Commit

Permalink
forgot some references in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jouramie committed Oct 24, 2024
1 parent 0c59eec commit 865b4c8
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions worlds/stardew_valley/test/rules/TestBuildings.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ def test_big_coop_blueprint(self):
self.assertFalse(big_coop_blueprint_rule(self.multiworld.state),
f"Rule is {repr(self.multiworld.get_location('Big Coop Blueprint', self.player).access_rule)}")

self.multiworld.state.collect(self.create_item("Can Construct Buildings"), prevent_sweep=True)
self.assertFalse(big_coop_blueprint_rule(self.multiworld.state),
f"Rule is {repr(self.multiworld.get_location('Big Coop Blueprint', self.player).access_rule)}")

self.multiworld.state.collect(self.create_item("Progressive Coop"), prevent_sweep=False)
self.assertTrue(big_coop_blueprint_rule(self.multiworld.state),
f"Rule is {repr(self.multiworld.get_location('Big Coop Blueprint', self.player).access_rule)}")
Expand All @@ -35,7 +31,6 @@ def test_deluxe_coop_blueprint(self):
self.assertFalse(self.world.logic.region.can_reach_location("Deluxe Coop Blueprint")(self.multiworld.state))

self.collect_lots_of_money()
self.multiworld.state.collect(self.create_item("Can Construct Buildings"), prevent_sweep=True)
self.assertFalse(self.world.logic.region.can_reach_location("Deluxe Coop Blueprint")(self.multiworld.state))

self.multiworld.state.collect(self.create_item("Progressive Coop"), prevent_sweep=True)
Expand All @@ -53,10 +48,6 @@ def test_big_shed_blueprint(self):
self.assertFalse(big_shed_rule(self.multiworld.state),
f"Rule is {repr(self.multiworld.get_location('Big Shed Blueprint', self.player).access_rule)}")

self.multiworld.state.collect(self.create_item("Can Construct Buildings"), prevent_sweep=True)
self.assertFalse(big_shed_rule(self.multiworld.state),
f"Rule is {repr(self.multiworld.get_location('Big Shed Blueprint', self.player).access_rule)}")

self.multiworld.state.collect(self.create_item("Progressive Shed"), prevent_sweep=True)
self.assertTrue(big_shed_rule(self.multiworld.state),
f"Rule is {repr(self.multiworld.get_location('Big Shed Blueprint', self.player).access_rule)}")

0 comments on commit 865b4c8

Please sign in to comment.