Skip to content

Commit ddb8d4a

Browse files
Alon YeshurunCopilot
andcommitted
fix: add _success suffix to test names in test_fab_state_config
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent b2d8a5b commit ddb8d4a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/test_core/test_fab_state_config.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def test_list_configs(self, monkeypatch):
7272
class TestInitDefaults:
7373
"""Test suite for config initialization optimization."""
7474

75-
def test_init_defaults_no_write_when_unchanged(self, tmp_path, monkeypatch):
75+
def test_init_defaults_no_write_when_unchanged_success(self, tmp_path, monkeypatch):
7676
"""Test that init_defaults skips writing when config already has all defaults."""
7777
import json
7878

@@ -114,7 +114,7 @@ def _create_temp_config(monkeypatch, config_data):
114114
return config_file
115115

116116

117-
def test_init_defaults_removes_mode_key(monkeypatch):
117+
def test_init_defaults_removes_mode_key_success(monkeypatch):
118118
"""If an existing config file contains 'mode', init_defaults must delete it."""
119119
config_file = _create_temp_config(monkeypatch, {
120120
fab_constant.FAB_MODE: fab_constant.FAB_MODE_INTERACTIVE,
@@ -141,7 +141,7 @@ def test_init_defaults_no_mode_key_success(monkeypatch):
141141
assert result[fab_constant.FAB_DEBUG_ENABLED] == "true"
142142

143143

144-
def test_init_defaults_applies_missing_defaults(monkeypatch):
144+
def test_init_defaults_applies_missing_defaults_success(monkeypatch):
145145
"""init_defaults must fill in missing default values."""
146146
config_file = _create_temp_config(monkeypatch, {})
147147

@@ -154,7 +154,7 @@ def test_init_defaults_applies_missing_defaults(monkeypatch):
154154
)
155155

156156

157-
def test_init_defaults_preserves_user_overrides(monkeypatch):
157+
def test_init_defaults_preserves_user_overrides_success(monkeypatch):
158158
"""User-set values must not be overwritten by defaults."""
159159
config_file = _create_temp_config(monkeypatch, {
160160
fab_constant.FAB_CACHE_ENABLED: "false",

0 commit comments

Comments
 (0)