Stardew Valley: Fix a logic bug and a documentation typo (#1722)

Typo in the documentation
Logic error for help wanted quests
This commit is contained in:
agilbert1412
2023-04-16 05:22:33 -04:00
committed by GitHub
parent 50d9ab041a
commit ea03c90152
6 changed files with 103 additions and 75 deletions

View File

@@ -9,12 +9,12 @@ class TestCsvIntegrity(unittest.TestCase):
items = load_item_csv()
for item in items:
assert item.code_without_offset is not None, \
"Some item do not have an id. Run the script `update_data.py` to generate them."
self.assertIsNotNone(item.code_without_offset, "Some item do not have an id."
" Run the script `update_data.py` to generate them.")
def test_locations_integrity(self):
locations = load_location_csv()
for location in locations:
assert location.code_without_offset is not None, \
"Some location do not have an id. Run the script `update_data.py` to generate them."
self.assertIsNotNone(location.code_without_offset, "Some location do not have an id."
" Run the script `update_data.py` to generate them.")