Skip to content

Commit

Permalink
Tests: allow Archipelago to have the 0 ID
Browse files Browse the repository at this point in the history
  • Loading branch information
alwaysintreble committed May 25, 2024
1 parent 8045c87 commit c69a180
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/general/test_ids.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_reserved_items(self):
with self.subTest(game=gamename):
if gamename == "Archipelago":
for item_id in world_type.item_id_to_name:
self.assertLess(item_id, 0)
self.assertLessEqual(item_id, 0)
else:
for item_id in world_type.item_id_to_name:
self.assertGreater(item_id, 0)
Expand All @@ -53,7 +53,7 @@ def test_reserved_locations(self):
with self.subTest(game=gamename):
if gamename == "Archipelago":
for location_id in world_type.location_id_to_name:
self.assertLess(location_id, 0)
self.assertLessEqual(location_id, 0)
else:
for location_id in world_type.location_id_to_name:
self.assertGreater(location_id, 0)
Expand Down

0 comments on commit c69a180

Please sign in to comment.