def test_generate_fixed_length_param_incomplete(): param = generate_fixed_length_param('[INTEGER_WITH_LENGTH_4') assert param == '[INTEGER_WITH_LENGTH_4'
def test_generate_fixed_length_param_json(): param = generate_fixed_length_param('[JSON_WITH_LENGTH_3]') assert param == {'0': '0', '1': '1', '2': '2'}
def test_generate_fixed_length_param_integer_array(): param = generate_fixed_length_param('[INTEGER_ARRAY_WITH_LENGTH_4]') assert param == [1, 1, 1, 1]
def test_generate_fixed_length_param_integer(): param = generate_fixed_length_param('[INTEGER_WITH_LENGTH_4]') assert param == 1111
def test_generate_fixed_length_param_string_array(): param = generate_fixed_length_param('[STRING_ARRAY_WITH_LENGTH_5]') assert param == ['a', 'a', 'a', 'a', 'a']
def test_generate_fixed_length_param_string(): param = generate_fixed_length_param('[STRING_WITH_LENGTH_5]') assert param == 'aaaaa'