Add stream parsing in Schema class #13
GitHub Actions / UT Report
succeeded
Apr 18, 2024 in 1s
UT Report β
β Β /home/src/magicparse/reports/unit_tests_results.xml
128 tests were completed in 268ms with 128 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 128β | 268ms |
β Β pytest
tests.test_builders.TestBuild
β
test_no_name_provided
β
test_unknown
β
test_with_parameter
β
test_without_parameter
tests.test_builders.TestConcat
β
test_concat_integer
β
test_concat_three_fields
β
test_concat_two_fields
β
test_empty_params
β
test_field_not_present
β
test_fields_params_empty
β
test_fields_params_has_less_than_two_field
β
test_fields_params_not_a_list_of_str
β
test_no_params
tests.test_builders.TestDivide
β
test_denominator_not_valid
β
test_denominator_param_empty
β
test_empty_params
β
test_field_not_present
β
test_no_params
β
test_numerator_not_valid
β
test_numerator_param_empty
β
test_valid_param
tests.test_builders.TestMultiply
β
test_empty_params
β
test_field_not_present
β
test_no_params
β
test_valid_param
β
test_x_factor_param_empty
β
test_x_y_factor_not_valid
β
test_y_factor_param_empty
tests.test_computed_fields.TestBuild
β
test_bad_value_for_builder
β
test_error_format
β
test_not_iterable_value_for_builder
β
test_with_valid_builder
β
test_without_builder
tests.test_encodings.TestCsvEncoding
β
test_default_encoding
β
test_exotic_encoding
tests.test_encodings.TestExoticEncoding
β
test_default_encoding
β
test_exotic_encoding
tests.test_fields
β
test_chain_transformations
β
test_chain_transformations_with_post_processors
β
test_csv_error_format
β
test_columnar_error_format
β
test_optional_field
β
test_required_field
β
test_require_field_with_empty_value
tests.test_post_processors.TestBuild
β
test_divide
β
test_no_name_provided
β
test_unknown
tests.test_post_processors.TestDivide
β
test_divide_decimal
β
test_divide_float
β
test_divide_int
β
test_fail_when_denominator_is_zero
tests.test_post_processors.TestRound
β
test_with_negative_precision
β
test_with_valid_precision
tests.test_post_processors.TestRegister
β
test_register
tests.test_pre_processors.TestBuild
β
test_left_pad_zeroes
β
test_left_strip
β
test_map
β
test_no_name_provided
β
test_regex_extract
β
test_replace
β
test_strip_whitespaces
β
test_unknown
tests.test_pre_processors.TestLeftPadZeroes
β
test_do_nothing
β
test_pad
tests.test_pre_processors.TestMap
β
test_known_input
β
test_unknown_input
tests.test_pre_processors.TestReplace
β
test_pattern_not_found
β
test_success
tests.test_pre_processors.TestStripWhitespaces
β
test_do_nothing
β
test_success
tests.test_pre_processors.TestLeftStrip
β
test_do_nothing
β
test_success
tests.test_pre_processors.TestRegexExtract
β
test_build_without_value_group
β
test_pattern_found
β
test_pattern_not_found
tests.test_pre_processors.TestRegister
β
test_register
tests.test_schema.TestBuild
β
test_columnar
β
test_csv_with_hdelimiter
β
test_csv_with_header
β
test_default_csv_schema
β
test_unknwown
tests.test_schema.TestCsvParse
β
test_error_display_row_number
β
test_errors_do_not_halt_parsing
β
test_with_header
β
test_with_no_data
β
test_with_no_field_definition
β
test_without_header
tests.test_schema.TestColumnarParse
β
test_error_display_row_number
β
test_errors_do_not_halt_parsing
β
test_parse
β
test_with_no_data
β
test_with_no_field_definition
tests.test_schema.TestQuotingSetting
β
test_asymetrical_quote
β
test_double_quote
β
test_no_quote
β
test_single_quote
tests.test_schema.TestRegister
β
test_register
tests.test_schema.TestSteamParse
β
test_stream_parse_errors_do_not_halt_parsing
tests.test_type_converters.TestBuild
β
test_datetime
β
test_decimal
β
test_int
β
test_no_type_provided
β
test_str
β
test_time
β
test_unknown
tests.test_type_converters.TestStr
β
test_apply
tests.test_type_converters.TestInt
β
test_apply
β
test_apply_failed
tests.test_type_converters.TestDecimal
β
test_apply
β
test_apply_failed
tests.test_type_converters.TestTime
β
test_apply
β
test_apply_failed
β
test_apply_naive_time
tests.test_type_converters.TestDateTime
β
test_apply
β
test_apply_failed
β
test_apply_naive_time
tests.test_type_converters.TestRegister
β
test_register
tests.test_validators.TestBuild
β
test_greater_than_params_are_correct
β
test_no_name_provided
β
test_regex_matches
β
test_unknown
tests.test_validators.TestRegexMatches
β
test_does_not_match
β
test_match
tests.test_validators.TestRegister
β
test_register
tests.test_validators.TestGreaterThanValidator
β
test_it_raises_an_error_when_the_value_is_equal_to_threshold
β
test_it_raises_an_error_when_the_value_is_lower_than_threshold
β
test_it_successfully_returns_the_value_when_greater_than_decimal_threshold
β
test_it_successfully_returns_the_value_when_greater_than_threshold
Loading