update tests

This commit is contained in:
2026-03-07 14:52:00 +08:00
parent 7920a1bab3
commit 8d0cd7861b

View File

@@ -35,7 +35,7 @@ def test_refresh_registry_picks_up_new_pipeline(tmp_path):
"default": {
"enabled": True,
"config_file": None,
"overrides": {"llm_name": "qwen-plus"},
"llm_name": "qwen-plus",
}
},
)
@@ -57,12 +57,12 @@ def test_refresh_registry_picks_up_new_pipeline(tmp_path):
"default": {
"enabled": True,
"config_file": None,
"overrides": {"llm_name": "qwen-plus"},
"llm_name": "qwen-plus",
},
"blueberry": {
"enabled": True,
"config_file": None,
"overrides": {"llm_name": "qwen-max"},
"llm_name": "qwen-max",
},
},
)
@@ -83,7 +83,7 @@ def test_refresh_registry_invalidates_cache_for_changed_pipeline(tmp_path):
"blueberry": {
"enabled": True,
"config_file": None,
"overrides": {"llm_name": "qwen-plus"},
"llm_name": "qwen-plus",
}
},
)
@@ -102,7 +102,7 @@ def test_refresh_registry_invalidates_cache_for_changed_pipeline(tmp_path):
"blueberry": {
"enabled": True,
"config_file": None,
"overrides": {"llm_name": "qwen-max"},
"llm_name": "qwen-max",
}
},
)
@@ -122,7 +122,7 @@ def test_refresh_registry_applies_disabled_state_immediately(tmp_path):
"blueberry": {
"enabled": True,
"config_file": None,
"overrides": {"llm_name": "qwen-plus"},
"llm_name": "qwen-plus",
}
},
)
@@ -139,7 +139,7 @@ def test_refresh_registry_applies_disabled_state_immediately(tmp_path):
"blueberry": {
"enabled": False,
"config_file": None,
"overrides": {"llm_name": "qwen-plus"},
"llm_name": "qwen-plus",
}
},
)
@@ -153,3 +153,4 @@ def test_refresh_registry_applies_disabled_state_immediately(tmp_path):