def test_parameter_valuespec_has_element_with_levels(levels):
    parameters = kube_node_container_count._parameter_valuespec()
    assert all(
        any(tittle == levels for tittle, _ in element._elements())
        for _, element in parameters._elements())
def test_parameter_valuespec_has_element_for_section_element(section_element):
    parameters = kube_node_container_count._parameter_valuespec()
    assert any(title == section_element for title, _ in parameters._elements())
def test_parameter_valuespec_has_help():
    parameters = kube_node_container_count._parameter_valuespec()
    assert all(c in parameters.help() for c in SECTION_ELEMENTS)
def test_parameter_valuespec_has_as_much_elements_as_section_elements():
    parameters = kube_node_container_count._parameter_valuespec()
    assert len(parameters._elements()) == len(SECTION_ELEMENTS)
def test_parameter_valuespec_returns_a_dictionary():
    parameters = kube_node_container_count._parameter_valuespec()
    assert isinstance(parameters, Dictionary)