2424def _get_client () -> QaaSClient :
2525 client = QaaSClient (
2626 project_id = os .environ ["SCALEWAY_PROJECT_ID" ],
27- secret_key = os .environ ["SCALEWAY_API_TOKEN " ],
27+ secret_key = os .environ ["SCALEWAY_SECRET_KEY " ],
2828 url = os .environ ["SCALEWAY_API_URL" ],
2929 )
3030
@@ -88,7 +88,7 @@ def test_list_platforms_by_backend(self):
8888 assert platform .backend_name == "aer"
8989
9090
91- def test_list_platforms_by_provider (self ):
91+ def test_list_platforms_by_provider ():
9292 client = _get_client ()
9393
9494 platforms = client .list_platforms (provider_name = "quandela" )
@@ -99,23 +99,23 @@ def test_list_platforms_by_provider(self):
9999 assert platform .provider_name == "quandela"
100100
101101
102- def test_list_platforms_by_unexisting_provider (self ):
102+ def test_list_platforms_by_unexisting_provider ():
103103 client = _get_client ()
104104
105105 platforms = client .list_platforms (provider_name = "aksjdkhjqw" )
106106
107107 assert platforms == []
108108
109109
110- def test_list_platforms_by_unexisting_backend (self ):
110+ def test_list_platforms_by_unexisting_backend ():
111111 client = _get_client ()
112112
113113 platforms = client .list_platforms (backend_name = "129837yiuhjdwksad" )
114114
115115 assert platforms == []
116116
117117
118- def test_list_platforms_by_name (self ):
118+ def test_list_platforms_by_name ():
119119 client = _get_client ()
120120
121121 platforms = client .list_platforms (name = _TEST_PLATFORM_NAME )
@@ -126,7 +126,7 @@ def test_list_platforms_by_name(self):
126126 assert len (platforms ) > 0
127127
128128
129- def test_list_platforms_by_unexisting_name (self ):
129+ def test_list_platforms_by_unexisting_name ():
130130 client = _get_client ()
131131
132132 platforms = client .list_platforms (name = "w3219380ijskd" )
0 commit comments