Skip to content

Commit

Permalink
adjust docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-i committed Nov 11, 2023
1 parent f4be3a2 commit 67acd89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/jupyter-ai/jupyter_ai/tests/test_config_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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` 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."""
"""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",
Expand All @@ -102,7 +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."""
"""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)

Expand Down

0 comments on commit 67acd89

Please sign in to comment.