onadata.libs.tests package¶
Subpackages¶
- onadata.libs.tests.serializers package
- Submodules
- onadata.libs.tests.serializers.test_attachment_serializer module
- onadata.libs.tests.serializers.test_dataview_serializer module
- onadata.libs.tests.serializers.test_organization_serializer module
- onadata.libs.tests.serializers.test_password_reset_serializer module
- onadata.libs.tests.serializers.test_project_serializer module
- onadata.libs.tests.serializers.test_user_profile_serializer module
- Module contents
- onadata.libs.tests.utils package
- Submodules
- onadata.libs.tests.utils.test_api_export_tools module
- onadata.libs.tests.utils.test_async_status module
- onadata.libs.tests.utils.test_backup_tools module
- onadata.libs.tests.utils.test_chart_tools module
TestChartTools
TestChartTools.mock_get_abbreviated_xpath()
TestChartTools.setUp()
TestChartTools.test_build_chart_category_field_group_by_category_field_in_group()
TestChartTools.test_build_chart_data_calculate_field_group_by_category_field()
TestChartTools.test_build_chart_data_cannot_group_by_field()
TestChartTools.test_build_chart_data_for_category_field_group_by_category_field()
TestChartTools.test_build_chart_data_for_field_on_duration()
TestChartTools.test_build_chart_data_for_field_on_grouped_field()
TestChartTools.test_build_chart_data_for_field_on_select_one()
TestChartTools.test_build_chart_data_for_field_on_submission_time()
TestChartTools.test_build_chart_data_for_field_on_submitted_by()
TestChartTools.test_build_chart_data_for_field_on_submitted_by_group_by()
TestChartTools.test_build_chart_data_for_field_with_language()
TestChartTools.test_build_chart_data_for_field_with_language_on_non_lang_field()
TestChartTools.test_build_chart_data_for_fields_with_accents()
TestChartTools.test_build_chart_data_for_fields_with_apostrophies()
TestChartTools.test_build_chart_data_for_group_by_submitted_by()
TestChartTools.test_build_chart_data_for_non_numeric_field_group_by_two_fields()
TestChartTools.test_build_chart_data_for_numeric_field_group_by_category_field()
TestChartTools.test_build_chart_data_for_numeric_field_group_by_two_fields()
TestChartTools.test_build_chart_data_output()
TestChartTools.test_build_chart_data_strips_none_from_dates()
TestChartTools.test_build_chart_data_with_field_name_with_lengh_65()
TestChartTools.test_build_chart_data_with_nonexisting_field_xpath()
TestChartTools.test_get_choice_label_for_multi_select()
TestChartTools.test_get_choice_label_for_multi_select_with_spaces()
TestChartTools.test_get_choice_label_when_label_not_in_choice_list()
TestChartTools.test_get_choice_label_with_list_label()
TestChartTools.test_get_choice_label_with_single_select()
TestChartTools.test_select_one_choices()
TestChartTools.test_select_one_choices_group_by()
TestChartUtilFunctions
TestChartUtilFunctions.test_calculate_range_on_normal_values()
TestChartUtilFunctions.test_calculate_range_when_page_is_beyond_limit()
TestChartUtilFunctions.test_flatten_multiple_dict_into_one()
TestChartUtilFunctions.test_raise_value_error_if_bad_time_zone()
TestChartUtilFunctions.test_raise_value_error_if_no_match()
TestChartUtilFunctions.test_utc_time_string_for_javascript()
find_field_by_name()
find_field_by_xpath()
- onadata.libs.tests.utils.test_csv_builder module
TestCSVDataFrameBuilder
TestCSVDataFrameBuilder.setUp()
TestCSVDataFrameBuilder.test_csv_column_indices_in_groups_within_repeats()
TestCSVDataFrameBuilder.test_csv_columns_for_gps_within_groups()
TestCSVDataFrameBuilder.test_csv_dataframe_export_to()
TestCSVDataFrameBuilder.test_csv_export()
TestCSVDataFrameBuilder.test_csv_export_extra_columns()
TestCSVDataFrameBuilder.test_csv_export_remove_group_name()
TestCSVDataFrameBuilder.test_csv_export_with_labels()
TestCSVDataFrameBuilder.test_csv_export_with_labels_only()
TestCSVDataFrameBuilder.test_export_data_for_xforms_with_newer_submissions()
TestCSVDataFrameBuilder.test_export_data_for_xforms_without_submissions()
TestCSVDataFrameBuilder.test_format_mongo_data_for_csv()
TestCSVDataFrameBuilder.test_get_prefix_from_xpath()
TestCSVDataFrameBuilder.test_index_tag_replacement()
TestCSVDataFrameBuilder.test_multiple_repeats_column_order()
TestCSVDataFrameBuilder.test_no_split_select_multiples()
TestCSVDataFrameBuilder.test_remove_dups_from_list_maintain_order()
TestCSVDataFrameBuilder.test_remove_group_name_for_gps_within_groups()
TestCSVDataFrameBuilder.test_repeat_child_name_matches_repeat()
TestCSVDataFrameBuilder.test_select_multiples_grouped_repeating_w_split()
TestCSVDataFrameBuilder.test_select_multiples_grouped_repeating_wo_split()
TestCSVDataFrameBuilder.test_show_choice_labels()
TestCSVDataFrameBuilder.test_show_choice_labels_multi_language()
TestCSVDataFrameBuilder.test_show_choice_labels_multi_language_1()
TestCSVDataFrameBuilder.test_show_choice_labels_select_multiple()
TestCSVDataFrameBuilder.test_show_choice_labels_select_multiple_1()
TestCSVDataFrameBuilder.test_show_choice_labels_select_multiple_1_language()
TestCSVDataFrameBuilder.test_show_choice_labels_select_multiple_2()
TestCSVDataFrameBuilder.test_show_choice_labels_select_multiple_3()
TestCSVDataFrameBuilder.test_show_choice_labels_select_multiple_language()
TestCSVDataFrameBuilder.test_split_gps_fields()
TestCSVDataFrameBuilder.test_split_gps_fields_within_repeats()
TestCSVDataFrameBuilder.test_split_select_multiples()
TestCSVDataFrameBuilder.test_split_select_multiples_values()
TestCSVDataFrameBuilder.test_split_select_multiples_with_randomize()
TestCSVDataFrameBuilder.test_split_select_multiples_within_repeats()
TestCSVDataFrameBuilder.test_unicode_export()
TestCSVDataFrameBuilder.test_windows_excel_compatible_csv_export()
xls_filepath_from_fixture_name()
xml_inst_filepath_from_fixture_name()
- onadata.libs.tests.utils.test_csv_import module
- onadata.libs.tests.utils.test_dict_tools module
- onadata.libs.tests.utils.test_export_tools module
- onadata.libs.tests.utils.test_image_tools module
- onadata.libs.tests.utils.test_logger_tools module
- onadata.libs.tests.utils.test_osm module
- onadata.libs.tests.utils.test_qrcode module
- Module contents