Skip to content

Commit

Permalink
test: ignore irrelevant difference in list element order (#5609)
Browse files Browse the repository at this point in the history
  • Loading branch information
rjsparks authored May 12, 2023
1 parent 1afdb0b commit 6b4115a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ietf/secr/sreq/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ def test_submit_request(self):
list(session.constraints().get(name='timerange').timeranges.all().values('name')),
list(TimerangeName.objects.filter(name__in=['thursday-afternoon-early', 'thursday-afternoon-late']).values('name'))
)
self.assertEqual(list(session.joint_with_groups.all()), [group3, group4])
self.assertEqual(set(list(session.joint_with_groups.all())), set([group3, group4]))

def test_submit_request_invalid(self):
MeetingFactory(type_id='ietf', date=date_today())
Expand Down

0 comments on commit 6b4115a

Please sign in to comment.