def test_get_param_position_real(): assert get_param_position(SPACED_TEXT_CLEANED) == [2]
def test_get_param_position_multiple_with_args(): input_ = [CONFIG_PARAM_WITH_ARGS, "", CONFIG_PARAM_WITH_ARGS] expected = [0, 2] assert get_param_position(input_) == expected
def test_get_param_position_multiple(): input_ = ["", CONFIG_PARAM_NO_ARGS, "", CONFIG_PARAM_NO_ARGS] expected = [1, 3] assert get_param_position(input_) == expected
def test_get_param_position_single_with_args(): input_ = ["", CONFIG_PARAM_WITH_ARGS,] expected = [1] assert get_param_position(input_) == expected
def test_get_param_position_single(): input_ = ["", "", CONFIG_PARAM_NO_ARGS] expected = [2] assert get_param_position(input_) == expected