from great_expectations.rule_based_profiler.parameter_builder.parameter_container import (
    ParameterContainer,
    build_parameter_container,
)


def test_build_parameter_container(
    parameter_values_eight_parameters_multiple_depths,
    multi_part_name_parameter_container,
):
    parameter_container: ParameterContainer = ParameterContainer(parameter_nodes=None)
    build_parameter_container(
        parameter_container=parameter_container,
        parameter_values=parameter_values_eight_parameters_multiple_depths,
    )
    assert parameter_container == multi_part_name_parameter_container

from great_expectations.rule_based_profiler.parameter_builder.parameter_container import (
    ParameterContainer,
    build_parameter_container,
)


def test_build_parameter_container(
    parameter_values_eight_parameters_multiple_depths,
    multi_part_name_parameter_container,
):
    parameter_container: ParameterContainer = ParameterContainer(parameter_nodes=None)
    build_parameter_container(
        parameter_container=parameter_container,
        parameter_values=parameter_values_eight_parameters_multiple_depths,
    )
    assert parameter_container == multi_part_name_parameter_container
