diff --git a/packages/jupyter-ai/jupyter_ai/tests/test_config_manager.py b/packages/jupyter-ai/jupyter_ai/tests/test_config_manager.py index 0d109ca09..7cbde64f2 100644 --- a/packages/jupyter-ai/jupyter_ai/tests/test_config_manager.py +++ b/packages/jupyter-ai/jupyter_ai/tests/test_config_manager.py @@ -86,7 +86,7 @@ def reset(config_path, schema_path): @pytest.fixture def config_with_bad_provider_ids(tmp_path): - """Fixture that creates a `config.json` file with bad provider ids in `tmp_path` folder and returns path to the file.""" + """Fixture that creates a `config.json` with model_provider_id and embeddings_provider_id values that would not associate with models. File is created in `tmp_path` folder. Function returns path to the file.""" config_data = { "model_provider_id:": "foo:bar", "embeddings_provider_id": "buzz:fizz", @@ -102,6 +102,7 @@ def config_with_bad_provider_ids(tmp_path): @pytest.fixture def cm_with_bad_provider_ids(common_cm_kwargs, config_with_bad_provider_ids): + """Config manager instance created with `config_path` set to mocked `config.json` with model_provider_id and embeddings_provider_id values that would not associate with models.""" common_cm_kwargs["config_path"] = config_with_bad_provider_ids return ConfigManager(**common_cm_kwargs)