def test_parse_field_value_string_one(): EXPECTED = "42" RESULT = parser.parse_field_value(header.FieldInfo("String", 1), "42") assert EXPECTED == RESULT
def test_parse_field_value_integer_more_empty(number): EXPECTED = [] RESULT = parser.parse_field_value(header.FieldInfo("Integer", number), ".") assert EXPECTED == RESULT
def test_parse_field_value_integer_more(number): EXPECTED = [42, 43] RESULT = parser.parse_field_value(header.FieldInfo("Integer", number), "42,43") assert EXPECTED == RESULT
def test_parse_field_value_integer_one(): EXPECTED = 42 RESULT = parser.parse_field_value(header.FieldInfo("Integer", 1), "42") assert EXPECTED == RESULT
def test_parse_field_value_string_more_empty(number): EXPECTED = [] RESULT = parser.parse_field_value(header.FieldInfo("String", number), ".") assert EXPECTED == RESULT
def test_parse_field_value_string_more(number): EXPECTED = ["42", "43"] RESULT = parser.parse_field_value(header.FieldInfo("String", number), "42,43") assert EXPECTED == RESULT