Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ref: fix reassignment to release (Release vs str) #75109

Merged
merged 1 commit into from
Jul 26, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -3008,13 +3008,13 @@ def test_snuba_query_first_release_with_environments(self, mock_query: MagicMock
# give time for consumers to run and propogate changes to clickhouse
sleep(1)

for release, environment, expected_groups in (
for release_s, environment, expected_groups in (
(release.version, "development", [event.group.id]),
(release.version, "production", []),
):
response = self.get_success_response(
sort="new",
query=f"first_release:{release}",
query=f"first_release:{release_s}",
environment=environment,
)
assert len(response.data) == len(expected_groups)
Expand Down
Loading