def test_constructor(): kind = metadata.Kind() assert kind.__dict__ == {"_values": {}}
def test_kind_name(): key = key_module.Key(metadata.Kind.KIND_NAME, "test") kind = metadata.Kind(key=key) assert kind.kind_name == "test"
def test_constructor(): with pytest.raises(NotImplementedError): metadata.Kind()