Skip to content

Commit

Permalink
Change the search test for test_episode_fkorft_for_contains_synonym_n…
Browse files Browse the repository at this point in the history
…ame_and_ft to not worry about order
  • Loading branch information
fredkingham committed Sep 2, 2022
1 parent fe91407 commit 878e020
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion opal/core/search/tests/test_search_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,10 @@ def test_episode_fkorft_for_contains_synonym_name_and_ft(self):
hound_owner.dog = "Dalwinion"
hound_owner.save()
query = queries.DatabaseQuery(self.user, [criteria])
self.assertEqual([self.episode, episode_2], query.get_episodes())
self.assertEqual(
set([self.episode, episode_2]),
set(query.get_episodes())
)

def test_episode_fkorft_contains_distinct(self):
criteria = dict(
Expand Down

0 comments on commit 878e020

Please sign in to comment.