def test_inheritance():
    """It should merge multiple types following the regular inheritance rules"""
    ComboQuery = merge_types("SuperType", (ComplexGreeter, Person))

    definition = ComboQuery.__strawberry_definition__
    assert len(definition.fields) == 4

    actuals = [(field.python_name, field.type) for field in definition.fields]
    expected = [("hi", str), ("bye", str), ("name", str), ("age", int)]
    assert actuals == expected
It should merge multiple types following the regular inheritance rules
tests/tools/test_merge_types.py