darshan.tests package

Subpackages

Submodules

darshan.tests.conftest module

darshan.tests.conftest.pytest_configure()[source]

darshan.tests.test_cffi_misc module

darshan.tests.test_cffi_misc.test_file_hash_type(log_path)[source]
darshan.tests.test_cffi_misc.test_get_lib_version()[source]
darshan.tests.test_cffi_misc.test_log_get_generic_record(dtype)[source]

darshan.tests.test_data_access_by_filesystem module

darshan.tests.test_data_access_by_filesystem.test_annotate_center_align(logname)[source]
darshan.tests.test_data_access_by_filesystem.test_cat_labels_std_streams(log_file_name, expected_text_labels)[source]
darshan.tests.test_data_access_by_filesystem.test_check_empty_series(read_groups, write_groups, filesystem_roots, expected_read_groups, expected_write_groups)[source]
darshan.tests.test_data_access_by_filesystem.test_convert_file_id_to_path(input_id, file_id_dict, expected_file_path)[source]
darshan.tests.test_data_access_by_filesystem.test_convert_file_path_to_root_path(file_path, expected_root_path)[source]
darshan.tests.test_data_access_by_filesystem.test_empty_data_posix_text_position()[source]
darshan.tests.test_data_access_by_filesystem.test_empty_data_posix_y_axis_annot_position()[source]
darshan.tests.test_data_access_by_filesystem.test_empty_series_handler(series, expected_series)[source]
darshan.tests.test_data_access_by_filesystem.test_identify_filesystems(capsys, file_id_dict, expected_root_paths, verbose)[source]
darshan.tests.test_data_access_by_filesystem.test_log_scale_display(filename)[source]
darshan.tests.test_data_access_by_filesystem.test_plot_data(file_rd_series, file_wr_series, bytes_rd_series, bytes_wr_series, filesystem_roots)[source]
darshan.tests.test_data_access_by_filesystem.test_plot_data_labels(file_rd_series, file_wr_series, bytes_rd_series, bytes_wr_series, filesystem_roots)[source]
darshan.tests.test_data_access_by_filesystem.test_plot_data_shared_x_axis()[source]
darshan.tests.test_data_access_by_filesystem.test_plot_with_report_no_file(tmpdir, logname)[source]
darshan.tests.test_data_access_by_filesystem.test_plot_with_report_proper_sort(logname, top_cat_name, third_cat_name)[source]
darshan.tests.test_data_access_by_filesystem.test_plot_with_report_root_files(logname)[source]
darshan.tests.test_data_access_by_filesystem.test_process_byte_counts(df_reads, df_writes, expected_read_groups, expected_write_groups)[source]
darshan.tests.test_data_access_by_filesystem.test_process_unique_files(df_reads, df_writes, expected_read_groups, expected_write_groups)[source]
darshan.tests.test_data_access_by_filesystem.test_rec_to_rw_counter_dfs_with_cols(report, file_id_dict, expected_df_reads_shape, expected_df_writes_shape)[source]
darshan.tests.test_data_access_by_filesystem.test_stdio_basic_inclusion(logname, expected_file_rd_series, expected_file_wr_series, expected_bytes_rd_series, expected_bytes_wr_series)[source]
darshan.tests.test_data_access_by_filesystem.test_subplot_restriction(logname, num_cats)[source]
darshan.tests.test_data_access_by_filesystem.test_text_center_align(logname)[source]
darshan.tests.test_data_access_by_filesystem.test_unique_fs_rw_counter(report, filesystem_roots, file_id_dict, processing_func, verbose, expected_read_groups, expected_write_groups, mod)[source]
darshan.tests.test_data_access_by_filesystem.test_vertical_resize(filename, expected_dims, num_cats)[source]

darshan.tests.test_error module

Tests for pydarshan package.

darshan.tests.test_error.test_cannotopen()[source]

Ensure we do not dump core on error.

darshan.tests.test_heatmap_handling module

darshan.tests.test_heatmap_handling.dict_list()[source]
darshan.tests.test_heatmap_handling.dict_list_no_writes()[source]
darshan.tests.test_heatmap_handling.test_get_aggregate_data(log_file, expected_agg_data, mod, ops)[source]
darshan.tests.test_heatmap_handling.test_get_heatmap_df(filepath, expected_hmap_data, xbins, ops)[source]
darshan.tests.test_heatmap_handling.test_get_rd_wr_dfs(dict_list)[source]
darshan.tests.test_heatmap_handling.test_get_rd_wr_dfs_no_write(dict_list_no_writes)[source]
darshan.tests.test_heatmap_handling.test_get_single_df_dict(expected_df_dict, ops)[source]

darshan.tests.test_log_utils module

darshan.tests.test_log_utils.test_failure_bad_logname()[source]
darshan.tests.test_log_utils.test_retrieve_both_repos(log_filename)[source]

darshan.tests.test_moddxt module

darshan.tests.test_moddxt.test_dxt_records(logfile, mod, expected_dict)[source]

darshan.tests.test_modmpiio module

Tests for pydarshan package.

darshan.tests.test_modmpiio.response()[source]

Sample pytest fixture.

See more at: http://doc.pytest.org/en/latest/fixture.html

darshan.tests.test_modmpiio.test_counters()[source]

Sample for an expected property in counters.

darshan.tests.test_modmpiio.test_fcounters()[source]

Sample for an expected property in fcounters.

darshan.tests.test_modmpiio.test_ishouldrun()[source]
darshan.tests.test_modmpiio.test_repeated_access()[source]

Check if repeated access is working.

darshan.tests.test_modposix module

Tests for pydarshan package.

darshan.tests.test_modposix.init()[source]

Sample pytest fixture.

See more at: http://doc.pytest.org/en/latest/fixture.html

darshan.tests.test_modposix.test_counters()[source]

Sample for an expected property in counters.

darshan.tests.test_modposix.test_fcounters()[source]

Sample for an expected property in fcounters.

darshan.tests.test_modposix.test_ishouldrun()[source]
darshan.tests.test_modposix.test_repeated_access()[source]

Check if repeated access is working.

darshan.tests.test_modstdio module

Tests for pydarshan package.

darshan.tests.test_modstdio.response()[source]

Sample pytest fixture.

See more at: http://doc.pytest.org/en/latest/fixture.html

darshan.tests.test_modstdio.test_counters()[source]

Sample for an expected property in counters.

darshan.tests.test_modstdio.test_fcounters()[source]

Sample for an expected property in fcounters.

darshan.tests.test_modstdio.test_ishouldrun()[source]
darshan.tests.test_modstdio.test_repeated_access()[source]

Check if repeated access is working.

darshan.tests.test_plot_common_access_table module

darshan.tests.test_plot_common_access_table.test_collapse_access_cols(input_df, col_name, expected_df)[source]
darshan.tests.test_plot_common_access_table.test_common_access_table(filename, mod, expected_df)[source]
darshan.tests.test_plot_common_access_table.test_get_access_count_df(mod_df, mod, expected_df)[source]
darshan.tests.test_plot_common_access_table.test_misc_funcs(func, input_df, expected_df)[source]

darshan.tests.test_plot_dxt_heatmap module

darshan.tests.test_plot_dxt_heatmap.jointgrid()[source]
darshan.tests.test_plot_dxt_heatmap.test_adjust_for_colorbar(filepath)[source]
darshan.tests.test_plot_dxt_heatmap.test_get_y_axis_tick_labels(n_ylabels, unique_ranks, expected_yticklabels)[source]
darshan.tests.test_plot_dxt_heatmap.test_get_y_axis_ticks(n_ylabels, expected_yticks, jointgrid)[source]
darshan.tests.test_plot_dxt_heatmap.test_plot_heatmap(filepath, mod, ops)[source]
darshan.tests.test_plot_dxt_heatmap.test_remove_marginal_graph_ticks_and_labels(filepath)[source]
darshan.tests.test_plot_dxt_heatmap.test_set_x_axis_ticks_and_labels(filepath, n_xlabels, expected_xticks, expected_xticklabels, jointgrid)[source]
darshan.tests.test_plot_dxt_heatmap.test_set_y_axis_ticks_and_labels(filepath, n_ylabels, expected_yticks, expected_yticklabels)[source]

darshan.tests.test_plot_exp_common module

darshan.tests.test_plot_exp_common.test_bar_heights(filename, mod, fig_func, expected_heights)[source]
darshan.tests.test_plot_exp_common.test_xticks_and_labels(log_path, func, expected_xticklabels, mod)[source]

darshan.tests.test_plot_io_cost module

darshan.tests.test_plot_io_cost.test_combine_hdf5_modules(input_df, expected_df)[source]
darshan.tests.test_plot_io_cost.test_get_by_avg_series(mod_key, input_df, expected_series)[source]
darshan.tests.test_plot_io_cost.test_get_io_cost_df(logname, expected_df)[source]
darshan.tests.test_plot_io_cost.test_issue_590(filename, expected_df)[source]
darshan.tests.test_plot_io_cost.test_plot_io_cost_y_ticks_and_labels(logname, expected_yticks)[source]
darshan.tests.test_plot_io_cost.test_plot_io_cost_ylims(logname, expected_ylims)[source]

darshan.tests.test_report module

darshan.tests.test_report_copy module

darshan.tests.test_summary module