Skip to content

Commit 1d78419

Browse files
resolve test conflicts
1 parent 42b1400 commit 1d78419

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

test/bases.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,15 @@ def _get_items(self, item_pool, all_except):
8989
items = self.multiworld.itempool[:]
9090
items = [item for item in items if
9191
item.name not in all_except and not ("Bottle" in item.name and "AnyBottle" in all_except)]
92-
items.extend(ItemFactory(item_pool[0], 1))
92+
items.extend(ItemFactory(item_pool[0], self.multiworld.worlds[1]))
9393
else:
94-
items = ItemFactory(item_pool[0], 1)
94+
items = ItemFactory(item_pool[0], self.multiworld.worlds[1])
9595
return self.get_state(items)
9696

9797
def _get_items_partial(self, item_pool, missing_item):
9898
new_items = item_pool[0].copy()
9999
new_items.remove(missing_item)
100-
items = ItemFactory(new_items, 1)
100+
items = ItemFactory(new_items, self.multiworld.worlds[1])
101101
return self.get_state(items)
102102

103103

worlds/alttp/test/options/TestOpenPyramid.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ def testGanonGoalAccess(self):
3434
self.assertFalse(self.can_reach_entrance("Pyramid Hole"))
3535
self.collect_by_name(["Hammer", "Progressive Glove", "Moon Pearl"])
3636
self.assertFalse(self.can_reach_entrance("Pyramid Hole"))
37-
self.multiworld.state.collect(ItemFactory("Beat Agahnim 2", self.world))
37+
self.collect(ItemFactory("Beat Agahnim 2", self.multiworld.worlds[1]))
3838
self.assertTrue(self.can_reach_entrance("Pyramid Hole"))
3939

worlds/messenger/test/test_shop.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
class ShopCostTest(MessengerTestBase):
88
options = {
9-
"shop_price": "random",
9+
"shop_price": 350,
1010
"shuffle_shards": "true",
1111
}
1212

@@ -46,7 +46,7 @@ def test_strike(self) -> None:
4646

4747
class ShopCostMinTest(ShopCostTest):
4848
options = {
49-
"shop_price": "random",
49+
"shop_price": 350,
5050
"shuffle_seals": "false",
5151
}
5252

0 commit comments

Comments
 (0)