Skip to content

Commit

Permalink
add test case debc030
Browse files Browse the repository at this point in the history
  • Loading branch information
siner308 committed Sep 8, 2022
1 parent b802c5d commit 4800dcb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/unit/development/test_base_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,3 +534,8 @@ def update(v):
@app.callback(Output(output1, "children"), Input(input1, "value"))
def update2(v):
return f"Input 1 {v}"


def test_debc030_invalid_children_args():
with pytest.raises(TypeError):
dcc.Input(children='invalid children')

0 comments on commit 4800dcb

Please sign in to comment.