Fix test_custom_component.py to call the correct method
This commit is contained in:
parent
e8fded882e
commit
103df34d0e
1 changed files with 1 additions and 1 deletions
|
|
@ -373,7 +373,7 @@ def test_custom_component_class_template_validation_no_code():
|
|||
"""
|
||||
custom_component = CustomComponent(code=None, function_entrypoint_name="build")
|
||||
with pytest.raises(HTTPException):
|
||||
custom_component._class_template_validation(custom_component.code)
|
||||
custom_component.get_function()
|
||||
|
||||
|
||||
def test_custom_component_get_code_tree_syntax_error():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue