Exemplo n.º 1
0
def test_type__object__get_interfaces():
    type_object = TypeObject(None, TypeObject, None)
    assert type_object.get_interfaces() == []
Exemplo n.º 2
0
def test_type__list__get_interfaces():
    type_object = TypeObject(None, List(Character), None)
    assert type_object.get_interfaces() is None
Exemplo n.º 3
0
def test_type__scalar__get_interfaces():
    type_object = TypeObject(None, Boolean, None)
    assert type_object.get_interfaces() is None
Exemplo n.º 4
0
def test_type__enum__get_interfaces():
    type_object = TypeObject(None, TypeKindEnum, None)
    assert type_object.get_interfaces() is None