Merge branch 'main' into SIENTIAPDE-1231-ajustar-o-retreino-do-courier-no-laborious

This commit is contained in:
vitor-aignosi
2025-10-16 09:05:58 -03:00
committed by GitHub
2 changed files with 11 additions and 1 deletions

2
.gitignore vendored
View File

@@ -47,4 +47,4 @@ git_log
.env
tmp/
catboost_info/
catboost_info/

View File

@@ -193,6 +193,16 @@ async def test_request_predict(mock_max, mock_to_datetime, mock_dataframe, mlflo
mock_dataframe.return_value.__setitem__.assert_any_call(
'timestamp', mock_to_datetime.return_value.dt.strftime.return_value
)
mock_dataframe.return_value.__setitem__.assert_any_call(
'timestamp', mock_to_datetime.return_value.dt.strftime.return_value
)
mock_to_datetime.assert_called_once_with(
mock_dataframe.return_value.__getitem__.return_value, format=DATETIME_FORMAT_WITH_TZ
)
mock_to_datetime.return_value.dt.strftime.assert_called_once_with(
DATETIME_FORMAT
)
mock_to_datetime.assert_called_once_with(
mock_dataframe.return_value.__getitem__.return_value, format=DATETIME_FORMAT_WITH_TZ