@@ -23,7 +23,7 @@ class TestStorage:
2323 @parametrize
2424 def test_method_create (self , client : Gcore ) -> None :
2525 storage = client .storage .create (
26- location = "s-ed1 " ,
26+ location = "s-region-1 " ,
2727 name = "my-storage-prod" ,
2828 type = "s3" ,
2929 )
@@ -32,7 +32,7 @@ def test_method_create(self, client: Gcore) -> None:
3232 @parametrize
3333 def test_method_create_with_all_params (self , client : Gcore ) -> None :
3434 storage = client .storage .create (
35- location = "s-ed1 " ,
35+ location = "s-region-1 " ,
3636 name = "my-storage-prod" ,
3737 type = "s3" ,
3838 generate_sftp_password = True ,
@@ -43,7 +43,7 @@ def test_method_create_with_all_params(self, client: Gcore) -> None:
4343 @parametrize
4444 def test_raw_response_create (self , client : Gcore ) -> None :
4545 response = client .storage .with_raw_response .create (
46- location = "s-ed1 " ,
46+ location = "s-region-1 " ,
4747 name = "my-storage-prod" ,
4848 type = "s3" ,
4949 )
@@ -56,7 +56,7 @@ def test_raw_response_create(self, client: Gcore) -> None:
5656 @parametrize
5757 def test_streaming_response_create (self , client : Gcore ) -> None :
5858 with client .storage .with_streaming_response .create (
59- location = "s-ed1 " ,
59+ location = "s-region-1 " ,
6060 name = "my-storage-prod" ,
6161 type = "s3" ,
6262 ) as response :
@@ -327,7 +327,7 @@ class TestAsyncStorage:
327327 @parametrize
328328 async def test_method_create (self , async_client : AsyncGcore ) -> None :
329329 storage = await async_client .storage .create (
330- location = "s-ed1 " ,
330+ location = "s-region-1 " ,
331331 name = "my-storage-prod" ,
332332 type = "s3" ,
333333 )
@@ -336,7 +336,7 @@ async def test_method_create(self, async_client: AsyncGcore) -> None:
336336 @parametrize
337337 async def test_method_create_with_all_params (self , async_client : AsyncGcore ) -> None :
338338 storage = await async_client .storage .create (
339- location = "s-ed1 " ,
339+ location = "s-region-1 " ,
340340 name = "my-storage-prod" ,
341341 type = "s3" ,
342342 generate_sftp_password = True ,
@@ -347,7 +347,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncGcore) ->
347347 @parametrize
348348 async def test_raw_response_create (self , async_client : AsyncGcore ) -> None :
349349 response = await async_client .storage .with_raw_response .create (
350- location = "s-ed1 " ,
350+ location = "s-region-1 " ,
351351 name = "my-storage-prod" ,
352352 type = "s3" ,
353353 )
@@ -360,7 +360,7 @@ async def test_raw_response_create(self, async_client: AsyncGcore) -> None:
360360 @parametrize
361361 async def test_streaming_response_create (self , async_client : AsyncGcore ) -> None :
362362 async with async_client .storage .with_streaming_response .create (
363- location = "s-ed1 " ,
363+ location = "s-region-1 " ,
364364 name = "my-storage-prod" ,
365365 type = "s3" ,
366366 ) as response :
0 commit comments