@@ -228,7 +228,8 @@ def test_load_config_from_other_place(tmp_path, monkeypatch) -> None:
228228 assert config .parent_id == "project-e00some-id"
229229
230230
231- def test_load_config_federated_subject_file (tmp_path , monkeypatch ) -> None :
231+ @pytest .mark .asyncio
232+ async def test_load_config_federated_subject_file (tmp_path , monkeypatch ) -> None :
232233 from nebius .aio .cli_config import Config
233234 from nebius .aio .token .federated_credentials import FederatedCredentialsBearer
234235
@@ -264,7 +265,10 @@ def test_load_config_federated_subject_file(tmp_path, monkeypatch) -> None:
264265 assert isinstance (cred , FederatedCredentialsBearer )
265266
266267
267- def test_load_config_service_account_credentials_file (tmp_path , monkeypatch ) -> None :
268+ @pytest .mark .asyncio
269+ async def test_load_config_service_account_credentials_file (
270+ tmp_path , monkeypatch
271+ ) -> None :
268272 # create a service account credentials JSON with a PEM private key
269273 from cryptography .hazmat .primitives import serialization
270274 from cryptography .hazmat .primitives .asymmetric import rsa
@@ -326,7 +330,8 @@ def test_load_config_service_account_credentials_file(tmp_path, monkeypatch) ->
326330 assert isinstance (cred , ServiceAccountBearer )
327331
328332
329- def test_load_config_private_key_file (tmp_path , monkeypatch ) -> None :
333+ @pytest .mark .asyncio
334+ async def test_load_config_private_key_file (tmp_path , monkeypatch ) -> None :
330335 # Test private-key-file-path
331336 from cryptography .hazmat .primitives import serialization
332337 from cryptography .hazmat .primitives .asymmetric import rsa
@@ -375,7 +380,8 @@ def test_load_config_private_key_file(tmp_path, monkeypatch) -> None:
375380 assert isinstance (cred , ServiceAccountBearer )
376381
377382
378- def test_load_config_private_key_inline (tmp_path , monkeypatch ) -> None :
383+ @pytest .mark .asyncio
384+ async def test_load_config_private_key_inline (tmp_path , monkeypatch ) -> None :
379385 # Test inline private-key branch
380386 from cryptography .hazmat .primitives import serialization
381387 from cryptography .hazmat .primitives .asymmetric import rsa
0 commit comments