Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
webjunkie committed Nov 7, 2023
1 parent 67f50dc commit ff9ee57
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,19 @@ def test_trends_query_labels(self):
response.results[0]["labels"],
)

def test_trends_query_labels_hour(self):
self._create_test_events()

response = self._run_trends_query(self.default_date_from, self.default_date_from, IntervalType.hour)

self.assertEqual(
[
"9-Jan-2020 00:00",
],
response.results[0]["labels"],
response.results[0]["labels"],
)

def test_trends_query_multiple_series(self):
self._create_test_events()

Expand Down

0 comments on commit ff9ee57

Please sign in to comment.