Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions graphql_api/types/test_analytics/test_analytics.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@
if term:
testsuites = testsuites.filter(pl.col("testsuite").str.starts_with(term))

return testsuites.to_series().to_list()
return testsuites.to_series().drop_nulls().to_list() or []

Check warning on line 288 in graphql_api/types/test_analytics/test_analytics.py

View check run for this annotation

Codecov Notifications / codecov/patch

graphql_api/types/test_analytics/test_analytics.py#L288

Added line #L288 was not covered by tests


def get_flags(repoid: int, term: str | None = None, interval: int = 30) -> list[str]:
Expand All @@ -300,7 +300,7 @@
if term:
flags = flags.filter(pl.col("flags").str.starts_with(term))

return flags.to_series().to_list()
return flags.to_series().drop_nulls().to_list() or []

Check warning on line 303 in graphql_api/types/test_analytics/test_analytics.py

View check run for this annotation

Codecov Notifications / codecov/patch

graphql_api/types/test_analytics/test_analytics.py#L303

Added line #L303 was not covered by tests


class TestResultsOrdering(TypedDict):
Expand Down
Loading