Skip to content

Commit

Permalink
trend test order
Browse files Browse the repository at this point in the history
  • Loading branch information
aspicer committed Nov 7, 2024
1 parent c393da5 commit 6b5bf4b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1299,8 +1299,7 @@ def test_trends_math_first_time_for_user_handles_multiple_ids(self):

result = self._get_actors(trends_query=source_query, day="2020-01-12")
self.assertEqual(len(result), 2)
self.assertEqual(set(result[0][0]["distinct_ids"]), {"anon3"})
self.assertEqual(set(result[1][0]["distinct_ids"]), {"anon2", "p2"})
self.assertCountEqual([x[0]["distinct_ids"] for x in result], (["anon3"], ["anon2", "p2"]))

def test_trends_math_first_time_for_user_matches_first_event_only(self):
timestamp = "2020-01-11T12:00:00Z"
Expand Down

0 comments on commit 6b5bf4b

Please sign in to comment.