def test_grandchild_mixin_state() -> None:
    """Test that a mixin can inherit from a concrete state class."""
    assert "num" in GrandchildUsesMixinState.inherited_vars
    assert "num" not in GrandchildUsesMixinState.base_vars

    assert "computed" in GrandchildUsesMixinState.inherited_vars
    assert "computed" not in GrandchildUsesMixinState.computed_vars

    assert ChildMixinState.get_parent_state() == ChildUsesMixinState
    assert ChildMixinState.get_root_state() == State

    assert GrandchildUsesMixinState.get_parent_state() == ChildUsesMixinState
    assert GrandchildUsesMixinState.get_root_state() == State
Test that a mixin can inherit from a concrete state class.
tests/units/test_state.py