Skip to content

Commit

Permalink
Unittest: better fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Zannick committed Nov 3, 2021
1 parent e2837d0 commit e9bc67b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions Unittest.py
Expand Up @@ -418,11 +418,8 @@ def required_checks(self, spoiler, locations, items, locitems):
'Non-required items deemed required')
# No disabled locations
disables = set(spoiler['settings'].get('disabled_locations', []))
for p in items:
if p not in locations:
locations[p] = set()
self.assertEqual(
expected_none,
{p: set() for p in locations}, # keys might differ bt locations/items
{p: disables & c for p, c in locations.items()},
'Disabled locations deemed required')
# No more than one of any 'once' item
Expand Down
2 changes: 1 addition & 1 deletion version.py
@@ -1 +1 @@
__version__ = '6.0.133 f.LUM'
__version__ = '6.0.134 f.LUM'

0 comments on commit e9bc67b

Please sign in to comment.