Subnautica: fix the test that I didn't mean to push yet

This commit is contained in:
Fabian Dill 2023-02-26 09:51:02 +01:00
parent 05e36cab1c
commit 0286edf20c
1 changed files with 3 additions and 3 deletions

View File

@ -7,9 +7,9 @@ class SubnauticaTest(unittest.TestCase):
scancutoff: int = 33999
def testIDRange(self):
for id, name in subnautica.SubnauticaWorld.location_name_to_id.items():
for name, id in subnautica.SubnauticaWorld.location_name_to_id.items():
with self.subTest(item=name):
if "Scan" in name:
self.assertGreater(self.scancutoff, id)
else:
self.assertLess(self.scancutoff, id)
else:
self.assertGreater(self.scancutoff, id)