diff --git a/tests/sentry/issues/endpoints/test_organization_group_index.py b/tests/sentry/issues/endpoints/test_organization_group_index.py index a963eb23b4eb3d..9fa26e417e0fd0 100644 --- a/tests/sentry/issues/endpoints/test_organization_group_index.py +++ b/tests/sentry/issues/endpoints/test_organization_group_index.py @@ -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)