From 364e7e5a30cefddeed3095be9c4baf2c40db864b Mon Sep 17 00:00:00 2001 From: anthony sottile Date: Mon, 22 Jul 2024 11:49:04 -0400 Subject: [PATCH] ref: fix reassignment to release (Release vs str) --- .../sentry/issues/endpoints/test_organization_group_index.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)