@@ -392,7 +392,9 @@ def test_request_json_requires_credentials_when_authenticated():
392392
393393def test_request_json_raises_after_max_retries (monkeypatch ):
394394 # Covers lines 160-162: break + raise last_err
395- cfg = ISONEConfig (api_base = "https://x" , username = "u" , password = "p" , max_retries = 2 , retry_backoff_s = 0.5 )
395+ cfg = ISONEConfig (
396+ api_base = "https://x" , username = "u" , password = "p" , max_retries = 2 , retry_backoff_s = 0.5
397+ )
396398 c = ISONEClient (cfg )
397399
398400 c .session = FakeSession (
@@ -483,12 +485,7 @@ def test_from_ini_file_reads_isone_section(tmp_path):
483485
484486def test_load_prefers_ini_when_ini_has_creds (monkeypatch , tmp_path ):
485487 ini = tmp_path / "cfg.ini"
486- ini .write_text (
487- "[isone]\n "
488- "username = ini_user\n "
489- "password = ini_pass\n "
490- "timeout = 11\n "
491- )
488+ ini .write_text ("[isone]\n " "username = ini_user\n " "password = ini_pass\n " "timeout = 11\n " )
492489
493490 # Set env to different values to prove INI wins
494491 monkeypatch .setenv ("ISONE_USERNAME" , "env_user" )
@@ -568,10 +565,7 @@ def test_from_ini_file_returns_default_when_isone_section_missing(monkeypatch, t
568565 monkeypatch .chdir (tmp_path )
569566
570567 ini = tmp_path / "cfg.ini"
571- ini .write_text (
572- "[miso]\n "
573- "pricing_api_key = abc\n "
574- )
568+ ini .write_text ("[miso]\n " "pricing_api_key = abc\n " )
575569
576570 cfg = ISONEConfig .from_ini_file (ini )
577571
0 commit comments