tests package

Submodules

tests.algorithm_test module

class tests.algorithm_test.AlgorithmTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_alignment()[source]
test_alpha_miner_dataframe()[source]
test_alpha_miner_log()[source]
test_decomp_alignment()[source]
test_evaluation()[source]
test_hiearch_clustering()[source]
test_importing_xes()[source]
test_inductive_miner()[source]
test_log_skeleton()[source]
test_performance_spectrum()[source]
test_playout()[source]
test_tokenreplay()[source]
test_tree_generation()[source]
test_tsystem()[source]

tests.alignment_test module

class tests.alignment_test.AlignmentTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_alignment_alpha()[source]
test_alignment_pnml()[source]
test_tree_align_receipt()[source]
test_tree_align_reviewing()[source]
test_tree_align_reviewing_classifier()[source]
test_tree_align_reviewing_classifier_different_key()[source]
test_variant_dijkstra_less_memory()[source]
test_variant_state_eq_a_star()[source]
test_variant_tweaked_state_eq_a_star()[source]

tests.alpha_test module

class tests.alpha_test.AlphaMinerTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

obtainPetriNetThroughAlphaMiner(log_name)[source]
test_alphaMinerVisualizationFromXES()[source]
test_applyAlphaMinerToCSV()[source]
test_applyAlphaMinerToProblematicLogs()[source]
test_applyAlphaMinerToXES()[source]

tests.bpmn_tests module

class tests.bpmn_tests.BPMNTests(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_bpmn_exporting()[source]
test_bpmn_importing_and_layouting()[source]
test_bpmn_layouting()[source]
test_bpmn_to_petri_net()[source]
test_tree_to_bpmn()[source]

tests.constants module

tests.csv_impexp_test module

class tests.csv_impexp_test.CsvImportExportTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_importExportCSVtoCSV()[source]
test_importExportCSVtoXES()[source]

tests.dec_tree_test module

class tests.dec_tree_test.DecisionTreeTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_decisiontree_evattrvalue()[source]
test_decisiontree_traceduration()[source]

tests.dfg_tests module

class tests.dfg_tests.DfgTests(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_filter_act_percentage()[source]
test_filter_paths_percentage()[source]

tests.diagn_df_conf_checking module

class tests.diagn_df_conf_checking.DiagnDfConfChecking(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_align()[source]
test_footprints_classic()[source]
test_footprints_extensive()[source]
test_log_skeleton()[source]
test_tbr_backwards()[source]
test_tbr_normal()[source]

tests.doc_tests module

class tests.doc_tests.DocTests(methodName='runTest')[source]

Bases: unittest.case.TestCase

load_receipt_df()[source]
load_receipt_stream()[source]
load_receipt_xes()[source]
load_roadtraffic100_csv()[source]
load_roadtraffic100_xes()[source]
load_roadtraffic50_xes()[source]
load_running_example_df()[source]
load_running_example_pnml()[source]
load_running_example_stream()[source]
load_running_example_xes()[source]
test_1()[source]
test_10()[source]
test_11()[source]
test_12()[source]
test_13()[source]
test_14()[source]
test_15()[source]
test_16()[source]
test_17()[source]
test_2()[source]
test_20()[source]
test_21()[source]
test_22()[source]
test_23()[source]
test_24()[source]
test_25()[source]
test_26()[source]
test_27()[source]
test_28()[source]
test_29()[source]
test_3()[source]
test_32()[source]
test_33()[source]
test_34()[source]
test_35()[source]
test_38()[source]
test_39()[source]
test_4()[source]
test_40()[source]
test_41()[source]
test_42()[source]
test_43()[source]
test_44()[source]
test_45()[source]
test_46()[source]
test_47()[source]
test_48()[source]
test_49()[source]
test_5()[source]
test_50()[source]
test_51()[source]
test_52()[source]
test_56()[source]
test_57()[source]
test_58()[source]
test_59()[source]
test_6()[source]
test_60()[source]
test_61()[source]
test_62()[source]
test_63()[source]
test_64()[source]
test_65()[source]
test_66()[source]
test_67()[source]
test_8()[source]
test_9()[source]
test_business_hours()[source]
test_case_arrival()[source]
test_ctmc()[source]
test_cycle_waiting_time()[source]
test_decomp()[source]
test_distr_case_duration()[source]
test_distr_events_time()[source]
test_distr_num_attribute()[source]
test_evaluation()[source]
test_footprints()[source]
test_log_skeleton()[source]
test_max_decomp()[source]
test_playout()[source]
test_ps()[source]
test_reach_graph()[source]
test_sna()[source]
test_tbr_diagn_1()[source]
test_tbr_diagn_2()[source]
test_throughput_time()[source]

tests.etc_tests module

class tests.etc_tests.ETCTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_etc1()[source]

tests.evaluation_tests module

class tests.evaluation_tests.ProcessModelEvaluationTests(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_evaluation_pm1()[source]
test_evaluation_pm2()[source]

tests.execute_tests module

tests.filtering_log_test module

class tests.filtering_log_test.LogFilteringTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_AeventuallyB_neg()[source]
test_AeventuallyB_pos()[source]
test_AeventuallyBeventuallyC_neg()[source]
test_AeventuallyBeventuallyC_pos()[source]
test_AnextBnextC_neg()[source]
test_AnextBnextC_pos()[source]
test_attrValueDifferentPersons_neg()[source]
test_attrValueDifferentPersons_pos()[source]
test_attr_value_repetition()[source]
test_attribute_selection()[source]
test_casefilter_casesize()[source]
test_casefilter_ncases()[source]
test_filter_traces_attribute_in_timeframe()[source]
test_filtering_attributes_events()[source]
test_filtering_attributes_traces()[source]
test_filtering_variants()[source]
test_fourEeyesPrinciple_neg()[source]
test_fourEeyesPrinciple_pos()[source]
test_obtaining_variants()[source]
test_pathsfilter()[source]

tests.filtering_pandas_test module

class tests.filtering_pandas_test.DataframePrefilteringTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_AeventuallyB_neg()[source]
test_AeventuallyB_pos()[source]
test_AeventuallyBeventuallyC_neg()[source]
test_AeventuallyBeventuallyC_pos()[source]
test_AnextBnextC_neg()[source]
test_AnextBnextC_pos()[source]
test_attrValueDifferentPersons_neg()[source]
test_attrValueDifferentPersons_pos()[source]
test_attr_value_repetition()[source]
test_filtering_attr_events()[source]
test_filtering_paths()[source]
test_filtering_timeframe()[source]
test_filtering_traces_attribute_in_timeframe()[source]
test_filtering_variants()[source]
test_fourEeyesPrinciple_neg()[source]
test_fourEeyesPrinciple_pos()[source]
test_prefiltering_dataframe()[source]

tests.graphs_forming module

class tests.graphs_forming.GraphsForming(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_dfCasedurationPlotSemilogx()[source]
test_dfDateAttribute()[source]
test_dfNumericAttribute()[source]
test_logCaseDurationPlotSemiLogx()[source]
test_logDateAttribute()[source]
test_logNumericAttribute()[source]

tests.heuminer_test module

class tests.heuminer_test.HeuMinerTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_heunet_running_example()[source]
test_heuplusplus_perf_df()[source]
test_heuplusplus_perf_log()[source]
test_heuplusplus_petri_df()[source]
test_heuplusplus_petri_log()[source]
test_petrinet_receipt_df()[source]
test_petrinet_running_example()[source]

tests.imp_everything module

class tests.imp_everything.Pm4pyImportPackageTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_importeverything()[source]

tests.imp_exp_from_string module

class tests.imp_exp_from_string.ImpExpFromString(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_exp_bpmn_to_str()[source]
test_exp_pnml_to_str()[source]
test_exp_ptml_to_str()[source]
test_exp_xes_to_str()[source]
test_imp_bpmn_from_str()[source]
test_imp_bpmn_from_str2()[source]
test_imp_petri_from_str()[source]
test_imp_petri_from_str2()[source]
test_imp_tree_from_str()[source]
test_imp_tree_from_str2()[source]
test_imp_xes_from_str()[source]
test_imp_xes_from_str2()[source]

tests.inductive_test module

class tests.inductive_test.InductiveMinerTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

obtain_petri_net_through_im(log_name, variant=Variants.IM_CLEAN)[source]
test_applyImdfToCSV()[source]
test_applyImdfToXES()[source]
test_imdfVisualizationFromXES()[source]

tests.inductive_tree_test module

class tests.inductive_tree_test.InductiveMinerTreeTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_tree_parsing()[source]
test_tree_receipt_log_plain_based()[source]
test_tree_running_example_log_plain_based()[source]

tests.main_fac_test module

class tests.main_fac_test.MainFactoriesTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_alphaminer_df()[source]
test_alphaminer_log()[source]
test_alphaminer_stream()[source]
test_csvimp_xesexp()[source]
test_dfg_df()[source]
test_dfg_log()[source]
test_dfg_stream()[source]
test_heu_df()[source]
test_heu_log()[source]
test_heu_stream()[source]
test_inductiveminer_df()[source]
test_inductiveminer_log()[source]
test_inductiveminer_stream()[source]
test_memory_efficient_iterparse()[source]
test_nonstandard_exporter()[source]
test_pdimp_xesexp()[source]
test_ts_df()[source]
test_ts_log()[source]
test_ts_stream()[source]
test_xesimp_xesexp()[source]

tests.ocel_discovery_test module

class tests.ocel_discovery_test.OcelDiscoveryTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_discovery_ocfg_f1()[source]
test_discovery_ocfg_f2()[source]
test_discovery_ocfg_f3()[source]
test_discovery_ocfg_f4()[source]
test_discovery_ocfg_f5()[source]
test_discovery_ocfg_p1()[source]
test_discovery_ocfg_p2()[source]
test_discovery_ocfg_p3()[source]
test_discovery_ocfg_p4()[source]
test_discovery_ocfg_p5()[source]
test_discovery_ocfg_p6()[source]

tests.ocel_filtering_test module

class tests.ocel_filtering_test.OcelFilteringTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_ocel_filter_end_events()[source]
test_ocel_filter_event_attribute()[source]
test_ocel_filter_object_attribute()[source]
test_ocel_filter_object_per_type_count()[source]
test_ocel_filter_object_type_allowed_activities()[source]
test_ocel_filter_start_events()[source]
test_ocel_filter_timestamp()[source]
test_ocel_import_csv_export_csv()[source]
test_ocel_import_csv_export_jsonocel()[source]
test_ocel_import_csv_export_xmlocel()[source]
test_ocel_import_jsonocel_export_csv()[source]
test_ocel_import_jsonocel_export_jsonocel()[source]
test_ocel_import_jsonocel_export_xmlocel()[source]
test_ocel_import_xmlocel_export_csv()[source]
test_ocel_import_xmlocel_export_jsonocel()[source]
test_ocel_import_xmlocel_export_xmlocel()[source]
test_ocel_objects_ot_count()[source]
test_ocel_statistic_object_type_activities()[source]

tests.other_tests module

class tests.other_tests.OtherPartsTests(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_alignment()[source]
test_automatic_feature_extraction()[source]
test_concurrent_activities_pandas()[source]
test_concurrent_activities_xes()[source]
test_conversion_pn_to_pt()[source]
test_dfg_align()[source]
test_dfg_playout()[source]
test_efg_pandas()[source]
test_efg_xes()[source]
test_emd_1()[source]
test_emd_2()[source]
test_exporting_dfg()[source]
test_exporting_dfg_with_sa_ea()[source]
test_footprints_net()[source]
test_footprints_tree()[source]
test_footprints_tree_df()[source]
test_import_export_ptml()[source]
test_importing_dfg()[source]
test_insert_idx_in_trace()[source]
test_log_skeleton()[source]
test_log_to_trie()[source]
test_lp_solver()[source]
test_minimum_self_distance()[source]
test_performance_spectrum_df()[source]
test_performance_spectrum_log()[source]
test_playout_tree_basic()[source]
test_playout_tree_extensive()[source]
test_sojourn_time_pandas()[source]
test_sojourn_time_xes()[source]

tests.passed_time module

class tests.passed_time.PassedTimeTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_passedtime_prepost_df()[source]
test_passedtime_prepost_log()[source]

tests.petri_imp_exp_test module

class tests.petri_imp_exp_test.PetriImportExportTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_importingExportingPetri()[source]
test_importingPetriLogAlignment()[source]
test_importingPetriLogTokenReplay()[source]
test_s_components()[source]

tests.role_detection module

class tests.role_detection.RoleDetectionTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_role_receipt_csv()[source]
test_role_receipt_xes()[source]
test_role_running_csv()[source]
test_role_running_xes()[source]

tests.simplified_interface module

class tests.simplified_interface.SimplifiedInterfaceTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_alignments()[source]
test_alignments_bpmn()[source]
test_alignments_dfg()[source]
test_alignments_tree()[source]
test_alpha_miner()[source]
test_alpha_miner_plus()[source]
test_case_arrival()[source]
test_convert_to_bpmn_from_tree()[source]
test_convert_to_net_from_bpmn()[source]
test_convert_to_net_from_dfg()[source]
test_convert_to_net_from_heu()[source]
test_convert_to_net_from_tree()[source]
test_convert_to_tree_from_bpmn()[source]
test_convert_to_tree_from_petri()[source]
test_csv()[source]
test_dfg()[source]
test_discovery_inductive_bpmn()[source]
test_efg()[source]
test_ext_marking_equation_sync_net()[source]
test_fitness_alignments()[source]
test_fitness_tbr()[source]
test_generation()[source]
test_generator()[source]
test_heuristics_miner()[source]
test_heuristics_miner_heu_net()[source]
test_inductive_miner()[source]
test_inductive_miner_noise()[source]
test_inductive_miner_tree()[source]
test_mark_em_equation()[source]
test_marking_equation_net()[source]
test_marking_equation_sync_net()[source]
test_minimum_self_distance()[source]
test_minimum_self_distance_2()[source]
test_msd()[source]
test_new_statistics_df()[source]
test_new_statistics_log()[source]
test_play_out_net()[source]
test_play_out_tree()[source]
test_playout()[source]
test_precision_alignments()[source]
test_precision_tbr()[source]
test_read_dfg()[source]
test_read_petri()[source]
test_read_tree()[source]
test_serialization_bpmn()[source]
test_serialization_dataframe()[source]
test_serialization_dfg()[source]
test_serialization_log()[source]
test_serialization_petri_net()[source]
test_serialization_process_tree()[source]
test_statistics_df()[source]
test_statistics_log()[source]
test_tbr()[source]

tests.simulation_test module

class tests.simulation_test.SimulationTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_simulate_petrinet()[source]
test_simulate_petrinet_start_params()[source]

tests.sna_test module

class tests.sna_test.SnaTests(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_1()[source]
test_log_orgmining_local_attr()[source]
test_log_orgmining_local_clustering()[source]
test_log_orgmining_local_roles()[source]
test_pandas()[source]
test_res_profiles_df()[source]
test_res_profiles_log()[source]
test_sna_clustering()[source]

tests.statistics_df_test module

class tests.statistics_df_test.StatisticsDfTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

get_dataframe()[source]
test_batch_detection()[source]
test_case_arrival()[source]
test_case_overlap()[source]
test_case_statistics()[source]
test_cycle_time()[source]
test_end_activities()[source]
test_events_distribution()[source]
test_get_attributes()[source]
test_msd()[source]
test_rework()[source]
test_start_activities()[source]
test_variants()[source]

tests.statistics_log_test module

class tests.statistics_log_test.StatisticsLogTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

get_log()[source]
test_batch_detection()[source]
test_case_arrival()[source]
test_case_overlap()[source]
test_case_statistics()[source]
test_cycle_time()[source]
test_end_activities()[source]
test_events_distribution()[source]
test_get_attributes()[source]
test_msd()[source]
test_rework()[source]
test_select_attributes()[source]
test_start_activities()[source]
test_variants()[source]

tests.trans_syst_tests module

class tests.trans_syst_tests.TransitionSystemTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_transitionsystem1()[source]

tests.woflan_tests module

class tests.woflan_tests.WoflanTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_figure415()[source]
test_figure42()[source]
test_mcg()[source]
test_running_example_alpha()[source]
test_running_example_inductive()[source]

tests.xes_impexp_test module

class tests.xes_impexp_test.XesImportExportTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_importExportProblematicLogs()[source]
test_importExportXESfromGZIP_imp1()[source]
test_importExportXEStoXES()[source]
test_importXESfromGZIP_imp2()[source]

tests.xescerttest module

tests.xescerttest.execute_script()[source]

Module contents