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