[PERF-337] skip partitions endpoint in paging metrics #177
GitHub Actions / Pytest results
succeeded
Jan 8, 2025 in 0s
Pytest results ✔️
✔️ src/edfi-paging-test/pytest-junit.xml
136 tests were completed in 4s with 136 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 136✔️ | 4s |
✔️ pytest
tests.api.test_paginated_result.describe_testing_PaginatedResult_class.describe_when_constructing
✔️ it_sets_correct_properties
tests.api.test_paginated_result.describe_testing_PaginatedResult_class.describe_when_constructing.describe_given_resource_list_present_in_api_response
✔️ it_binds_current_page_items
✔️ it_returns_correct_size
tests.api.test_paginated_result.describe_testing_PaginatedResult_class.describe_when_constructing.describe_given_items_not_present_in_api_response
✔️ it_returns_correct_size
tests.api.test_request_client.describe_testing_RequestClient_class.describe_when_constructing_instance
✔️ it_sets_base_url
✔️ it_sets_page_size
tests.api.test_request_client.describe_testing_RequestClient_class.describe_when_build_query_params_for_page_method_is_called.describe_given_correct_parameter
✔️ it_builds_url_correctly_for_first_page
✔️ it_builds_url_correctly_for_fifth_page
tests.api.test_request_client.describe_testing_RequestClient_class.describe_when_getting_results.describe_given_there_is_one_result_page
✔️ it_returns_the_page
tests.api.test_request_client.describe_testing_RequestClient_class.describe_when_getting_total_count.describe_given_there_is_total_count_in_the_header
✔️ it_returns_the_total_count
tests.api.test_request_client.describe_testing_RequestClient_class.describe_when_getting_total_count_with_trailing_slash_on_url.describe_given_there_is_total_count_in_the_header
✔️ it_returns_the_total_count
tests.api.test_request_client.describe_testing_RequestClient_class.describe_when_getting_all_pages
✔️ it_should_return_all_available_items
tests.api.test_request_client.describe_testing_RequestClient_class.describe_when_get_method_is_called.describe_given_error_occurs
✔️ it_continues_normal_operation
tests.api.test_request_client.describe_when_timing_a_callback
✔️ callback
✔️ it_returns_measured_time
✔️ it_returns_callback_response
tests.helpers.test_OutputFormat.describe_when_parsing_enum.describe_given_valid_options_with_mixed_cases
✔️ it_translates_correctly[jSoN-JSON]
✔️ it_translates_correctly[JSON-JSON]
✔️ it_translates_correctly[json-JSON]
✔️ it_translates_correctly[CsV-CSV]
✔️ it_translates_correctly[CSV-CSV]
✔️ it_translates_correctly[csv-CSV]
tests.helpers.test_OutputFormat.describe_when_parsing_enum.describe_given_invalid_option
✔️ it_raises_ValueError[csv_]
✔️ it_raises_ValueError[jsonp]
✔️ it_raises_ValueError[txt]
tests.helpers.test_api_metadata.describe_when_requesting_resource_paths
✔️ it_should_have_correct_length
✔️ it_should_have_a_correct_sampling_of_resources
tests.helpers.test_api_metadata.describe_when_normalizing_paths
✔️ it_should_remove_edfi_prefix
✔️ it_should_remove_edfi_prefix_and_preserve_case
✔️ it_should_remove_leading_slash
tests.helpers.test_argparser.describe_when_parsing_from_command_line_args.describe_given_full_set_of_arguments
✔️ it_sets_base_url
✔️ it_sets_api_key
✔️ it_sets_api_secret
✔️ it_sets_ignore_certificate_errors
✔️ it_sets_connection_limit
✔️ it_sets_output_dir
✔️ it_sets_content_type
✔️ it_sets_resource_list
✔️ it_sets_page_size
✔️ it_sets_log_level
✔️ it_sets_description
tests.helpers.test_argparser.describe_when_parsing_from_command_line_args.describe_given_arguments_do_not_include_baseUrl
✔️ it_should_show_help
tests.helpers.test_argparser.describe_when_parsing_from_command_line_args.describe_given_arguments_do_not_include_key
✔️ it_should_show_help
tests.helpers.test_argparser.describe_when_parsing_from_command_line_args.describe_given_arguments_do_not_include_secret
✔️ it_should_show_help
tests.helpers.test_argparser.describe_when_parsing_from_env_vars
✔️ it_sets_base_url
✔️ it_sets_api_key
✔️ it_sets_api_secret
✔️ it_sets_connection_limit
✔️ it_sets_output_dir
✔️ it_sets_content_type
✔️ it_sets_resource_list
✔️ it_sets_page_size
✔️ it_sets_log_level
✔️ it_sets_description
✔️ it_sets_ignore_certificate_errors
tests.reporter.test_reporter.describe_when_creating_detail_csv.describe_given_a_valid_DataFrame
✔️ it_creates_a_file
✔️ the_file_has_expected_data
tests.reporter.test_reporter.describe_when_creating_statistics_csv.describe_given_a_valid_DataFrame
✔️ it_creates_the_file
✔️ it_creates_the_correct_record_for_resource_a[Resource-a]
✔️ it_creates_the_correct_record_for_resource_a[PageSize-3]
✔️ it_creates_the_correct_record_for_resource_a[NumberOfPages-3]
✔️ it_creates_the_correct_record_for_resource_a[NumberOfRecords-8]
✔️ it_creates_the_correct_record_for_resource_a[TotalTime-5.73]
✔️ it_creates_the_correct_record_for_resource_a[MeanTime-1.4325]
✔️ it_creates_the_correct_record_for_resource_a[StDeviation-0.532314]
✔️ it_creates_the_correct_record_for_resource_a[NumberOfErrors-1]
✔️ it_creates_the_correct_record_for_resource_b_500[Resource-b]
✔️ it_creates_the_correct_record_for_resource_b_500[PageSize-500]
✔️ it_creates_the_correct_record_for_resource_b_500[NumberOfPages-2]
✔️ it_creates_the_correct_record_for_resource_b_500[NumberOfRecords-999]
✔️ it_creates_the_correct_record_for_resource_b_500[TotalTime-4.3646]
✔️ it_creates_the_correct_record_for_resource_b_500[MeanTime-2.1823]
✔️ it_creates_the_correct_record_for_resource_b_500[StDeviation-0.212132]
✔️ it_creates_the_correct_record_for_resource_b_500[NumberOfErrors-0]
✔️ it_creates_the_correct_record_for_resource_b_10[Resource-b]
✔️ it_creates_the_correct_record_for_resource_b_10[PageSize-10]
✔️ it_creates_the_correct_record_for_resource_b_10[NumberOfPages-1]
✔️ it_creates_the_correct_record_for_resource_b_10[NumberOfRecords-40]
✔️ it_creates_the_correct_record_for_resource_b_10[TotalTime-1.532]
✔️ it_creates_the_correct_record_for_resource_b_10[MeanTime-1.532]
✔️ it_creates_the_correct_record_for_resource_b_10[StDeviation-0]
✔️ it_creates_the_correct_record_for_resource_b_10[NumberOfErrors-0]
tests.reporter.test_reporter.describe_when_creating_detail_json.describe_given_a_valid_DataFrame
✔️ it_creates_a_file
✔️ the_file_has_expected_data
tests.reporter.test_reporter.describe_when_creating_statistics_json.describe_given_a_valid_DataFrame
✔️ it_creates_the_file
✔️ it_creates_the_correct_record_for_resource_a[Resource-a]
✔️ it_creates_the_correct_record_for_resource_a[PageSize-3]
✔️ it_creates_the_correct_record_for_resource_a[NumberOfPages-3]
✔️ it_creates_the_correct_record_for_resource_a[NumberOfRecords-8]
✔️ it_creates_the_correct_record_for_resource_a[TotalTime-5.73]
✔️ it_creates_the_correct_record_for_resource_a[MeanTime-1.4325]
✔️ it_creates_the_correct_record_for_resource_a[StDeviation-0.532314]
✔️ it_creates_the_correct_record_for_resource_a[NumberOfErrors-1]
✔️ it_creates_the_correct_record_for_resource_b_500[Resource-b]
✔️ it_creates_the_correct_record_for_resource_b_500[PageSize-500]
✔️ it_creates_the_correct_record_for_resource_b_500[NumberOfPages-2]
✔️ it_creates_the_correct_record_for_resource_b_500[NumberOfRecords-999]
✔️ it_creates_the_correct_record_for_resource_b_500[TotalTime-4.3646]
✔️ it_creates_the_correct_record_for_resource_b_500[MeanTime-2.1823]
✔️ it_creates_the_correct_record_for_resource_b_500[StDeviation-0.212132]
✔️ it_creates_the_correct_record_for_resource_b_500[NumberOfErrors-0]
✔️ it_creates_the_correct_record_for_resource_b_10[Resource-b]
✔️ it_creates_the_correct_record_for_resource_b_10[PageSize-10]
✔️ it_creates_the_correct_record_for_resource_b_10[NumberOfPages-1]
✔️ it_creates_the_correct_record_for_resource_b_10[NumberOfRecords-40]
✔️ it_creates_the_correct_record_for_resource_b_10[TotalTime-1.532]
✔️ it_creates_the_correct_record_for_resource_b_10[MeanTime-1.532]
✔️ it_creates_the_correct_record_for_resource_b_10[StDeviation-0]
✔️ it_creates_the_correct_record_for_resource_b_10[NumberOfErrors-0]
tests.reporter.test_reporter.describe_when_creating_summary_json.describe_given_a_valid_DataFrame
✔️ it_creates_a_file
✔️ the_file_has_expected_data
tests.reporter.test_request_logger.describe_when_logging_a_request.describe_given_there_is_already_an_item
✔️ it_appends_new_log_to_end_of_list
✔️ it_leaves_the_original_entry_at_beginning_of_list
tests.reporter.test_request_logger.describe_when_converting_to_a_DataFrame.describe_given_given_an_empty_list
✔️ it_raises_a_RuntimeError
tests.reporter.test_request_logger.describe_when_converting_to_a_DataFrame.describe_given_two_items
✔️ it_has_two_rows
✔️ it_has_seven_columns
✔️ it_maps_the_resource[0-academicWeeks]
✔️ it_maps_the_resource[1-assignments]
✔️ it_maps_the_url[0-https://localhost/WebApi/data/v3/]
✔️ it_maps_the_url[1-https://localhost/WebApi/data/v3/]
✔️ it_maps_the_page_number[0-1]
✔️ it_maps_the_page_number[1-3]
✔️ it_maps_the_page_size[0-200]
✔️ it_maps_the_page_size[1-500]
✔️ it_maps_the_number_of_records[0-30]
✔️ it_maps_the_number_of_records[1-500]
✔️ it_maps_the_elapsed_time[0-40.0]
✔️ it_maps_the_elapsed_time[1-321.0]
✔️ it_maps_the_http_status_code[0-200]
✔️ it_maps_the_http_status_code[1-200]
tests.reporter.test_summary.describe_when_initializing_summary.describe_when_all_fields_are_provided
✔️ it_sets_run_name
✔️ it_sets_description
✔️ it_sets_machine_name
✔️ it_sets_resources
tests.reporter.test_summary.describe_when_initializing_summary.describe_when_resource_not_provided
✔️ it_sets_default_value_for_resources
tests.reporter.test_summary.describe_when_initializing_summary.describe_when_machine_name_not_provided
✔️ it_sets_system_name
Loading