def test__check_kwargs_for_action_missing(): action = StatefullAction(["input"]) with pytest.raises(ActionException): action._check_kwargs_for_action({})
def test__check_kwargs_for_action_superfluous(): action = StatefullAction(["input"]) with pytest.raises(ActionException): action._check_kwargs_for_action({"input": 10, "superfluous": 20})
def test__check_kwargs_for_action(): action = StatefullAction(["input"]) action._check_kwargs_for_action({"input": 10})