We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e704fab commit 65785f9Copy full SHA for 65785f9
1 file changed
src/quartz_api/tests/integration/conftest.py
@@ -123,6 +123,7 @@ async def gsp_locations(dp_client: service_pb2_grpc.DataPlatformDataServiceStub)
123
"""Make national location."""
124
# add location gsp 1 to 10
125
location_uuids = []
126
+ gsp_id_map.clear()
127
for i in range(1, 11):
128
metadata = Struct(fields={"gsp_id": Value(number_value=i)})
129
create_location_request = make_location(
@@ -134,7 +135,6 @@ async def gsp_locations(dp_client: service_pb2_grpc.DataPlatformDataServiceStub)
134
135
res = await dp_client.CreateLocation(create_location_request)
136
location_uuids.append(res.location_uuid)
137
- gsp_id_map.clear()
138
gsp_id_map[i] = models.Location(
139
uuid=UUID(res.location_uuid),
140
metadata={"gsp_id": i},
0 commit comments