Esempio n. 1
0
def test_collection_of_interfaces_map_of_structs():
    for elt in InterfaceCollections.map_of_structs().values():
        assert getattr(elt, 'required_string') is not None
Esempio n. 2
0
def test_collection_of_interfaces_map_of_interfaces():
    for elt in InterfaceCollections.map_of_interfaces().values():
        assert getattr(elt, "ring") is not None
Esempio n. 3
0
def test_collection_of_interfaces_list_of_interfaces():
    for elt in InterfaceCollections.list_of_interfaces():
        assert getattr(elt, "ring") is not None