File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44from pytest_mock import MockerFixture
55
66from configuration import AppConfig
7- from models .requests import QueryRequest
7+ from models .requests import Attachment , QueryRequest
88
99from utils .transcripts import (
1010 construct_transcripts_path ,
1313from utils .types import ToolCallSummary , TurnSummary
1414
1515
16- def test_construct_transcripts_path (mocker : MockerFixture ):
16+ def test_construct_transcripts_path (mocker : MockerFixture ) -> None :
1717 """Test the construct_transcripts_path function."""
1818
1919 config_dict = {
@@ -52,7 +52,7 @@ def test_construct_transcripts_path(mocker: MockerFixture):
5252 ), "Path should be constructed correctly"
5353
5454
55- def test_store_transcript (mocker : MockerFixture ):
55+ def test_store_transcript (mocker : MockerFixture ) -> None :
5656 """Test the store_transcript function."""
5757
5858 mocker .patch ("builtins.open" , mocker .mock_open ())
@@ -83,9 +83,9 @@ def test_store_transcript(mocker: MockerFixture):
8383 ],
8484 )
8585 query_is_valid = True
86- rag_chunks = []
86+ rag_chunks : list [ dict ] = []
8787 truncated = False
88- attachments = []
88+ attachments : list [ Attachment ] = []
8989
9090 store_transcript (
9191 user_id ,
You can’t perform that action at this time.
0 commit comments