Skip to content

Commit 3b19169

Browse files
committed
Up to date unit tests documentation
1 parent ce4b4cc commit 3b19169

6 files changed

Lines changed: 40 additions & 3 deletions

File tree

tests/unit/app/endpoints/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ Unit tests for the rlsapi v1 /infer REST API endpoint.
6666
## [test_root.py](test_root.py)
6767
Unit tests for the / endpoint handler.
6868

69+
## [test_saved_prompts.py](test_saved_prompts.py)
70+
Unit tests for the /saved-prompts/config REST API endpoint.
71+
6972
## [test_shields.py](test_shields.py)
7073
Unit tests for the /shields REST API endpoint.
7174

tests/unit/models/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ Unit tests for models.
66
## [test_compaction.py](test_compaction.py)
77
Unit tests for the ConversationSummary model.
88

9+
## [test_saved_prompts_config.py](test_saved_prompts_config.py)
10+
Unit tests for SavedPromptsConfiguration.
11+
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# List of source files stored in `tests/unit/models/database` directory
2+
3+
## [__init__.py](__init__.py)
4+
Unit tests for database models.
5+
6+
## [test_saved_prompts.py](test_saved_prompts.py)
7+
Unit tests for SavedPrompt database model.
8+
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# List of source files stored in `tests/unit/pydantic_ai_lightspeed/capabilities/redaction` directory
2+
3+
## [__init__.py](__init__.py)
4+
Tests for pydantic_ai_lightspeed.capabilities.redaction package.
5+
6+
## [test_capability.py](test_capability.py)
7+
Unit tests for pydantic_ai_lightspeed.capabilities.redaction.capability module.
8+
9+
## [test_config.py](test_config.py)
10+
Unit tests for pydantic_ai_lightspeed.capabilities.redaction.config module.
11+
12+
## [test_core.py](test_core.py)
13+
Unit tests for pydantic_ai_lightspeed.capabilities.redaction.core module.
14+

tests/unit/pydantic_ai_lightspeed/llamastack/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
## [__init__.py](__init__.py)
44
Unit tests for pydantic_ai_lightspeed.llamastack sub-package.
55

6+
## [test_model.py](test_model.py)
7+
Unit tests for pydantic_ai_lightspeed.llamastack._model module.
8+
69
## [test_provider.py](test_provider.py)
710
Unit tests for pydantic_ai_lightspeed.llamastack._provider module.
811

tests/unit/utils/README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ Test module for utils/common.py.
1515
## [test_compaction.py](test_compaction.py)
1616
Unit tests for utils/compaction — partitioning, prompt, summarization.
1717

18+
## [test_config_dumper.py](test_config_dumper.py)
19+
Unit tests for utils/config_dumper module.
20+
1821
## [test_connection_decorator.py](test_connection_decorator.py)
1922
Unit tests for the connection decorator.
2023

@@ -27,6 +30,9 @@ Unit tests for conversation utility functions.
2730
## [test_endpoints.py](test_endpoints.py)
2831
Unit tests for endpoints utility functions.
2932

33+
## [test_json_schema_updater.py](test_json_schema_updater.py)
34+
Unit tests for utils/json_schema_updater module.
35+
3036
## [test_llama_stack_version.py](test_llama_stack_version.py)
3137
Unit tests for utility function to check Llama Stack version.
3238

@@ -39,6 +45,9 @@ Unit tests for MCP authorization headers utilities.
3945
## [test_mcp_headers.py](test_mcp_headers.py)
4046
Unit tests for MCP headers utility functions.
4147

48+
## [test_models_dumper.py](test_models_dumper.py)
49+
Unit tests for utils/models_dumper module.
50+
4251
## [test_prompts.py](test_prompts.py)
4352
Unit tests for prompts utility functions.
4453

@@ -54,9 +63,6 @@ Unit tests for utils/responses.py functions.
5463
## [test_rh_identity.py](test_rh_identity.py)
5564
Unit tests for utils/rh_identity module.
5665

57-
## [test_schema_dumper.py](test_schema_dumper.py)
58-
Unit tests for utils/schema_dumper module.
59-
6066
## [test_shields.py](test_shields.py)
6167
Unit tests for utils/shields.py functions.
6268

0 commit comments

Comments
 (0)