def test_parent_method_on_base_state_names_only(include_self): assert State.parents( include_self=include_self, names_only=True) == (["State"] if include_self else [])
def test_parent_method_on_base_state(): assert State.parents() == []
def test_parent_method_on_base_state(include_self): assert State.parents( include_self=include_self) == ([State] if include_self else [])