Skip to content

Commit

Permalink
IP: Fix test for: Alter ResourceGroup.members to load on demand rathe…
Browse files Browse the repository at this point in the history
…r than in advance
  • Loading branch information
davidfstr committed Dec 17, 2023
1 parent 1a609e1 commit ff0b9de
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/crystal/tests/test_open_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,9 @@ def sort_resources(resources: List[Resource]) -> List[Resource]:
resources_that_are_loaded = sorted(
loaded_resources(project),
key=lambda r: r._id)
assert resources_that_are_root_or_group_members == resources_that_are_loaded
assert resources_that_are_root_or_group_members == resources_that_are_loaded, (
f'{resources_that_are_root_or_group_members=} but {resources_that_are_loaded=}'
)


@skip('covered by: test_given_project_was_just_opened_then_no_resources_loaded_except_root_resources')
Expand Down

0 comments on commit ff0b9de

Please sign in to comment.