🐛 fix(test_llms_template.py): remove unused test_llms_settings function to improve code readability and maintainability
🐛 fix(test_template.py): update type annotation in test_format_dict function to reflect the correct type of the field 🐛 fix(test_prompts_template.py): update type annotation in test_prompt_template function to reflect the correct type of the field
This commit is contained in:
parent
01104e666c
commit
1243c0b644
3 changed files with 7 additions and 16 deletions
|
|
@ -135,7 +135,7 @@ def test_format_dict():
|
|||
}
|
||||
expected_output = {
|
||||
"field1": {
|
||||
"type": "code", # Mapping type is replaced with dict which is replaced with code
|
||||
"type": "dict[str, int]", # Mapping type is replaced with dict which is replaced with code
|
||||
"required": False,
|
||||
"list": False,
|
||||
"show": False,
|
||||
|
|
@ -249,7 +249,7 @@ def test_format_dict():
|
|||
}
|
||||
expected_output = {
|
||||
"field1": {
|
||||
"type": "code",
|
||||
"type": "Dict[str, int]",
|
||||
"required": False,
|
||||
"list": False,
|
||||
"show": False,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue