Esempio n. 1
0
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 [])
Esempio n. 2
0
def test_parent_method_on_base_state():
    assert State.parents() == []
Esempio n. 3
0
def test_parent_method_on_base_state(include_self):
    assert State.parents(
        include_self=include_self) == ([State] if include_self else [])