umami.tests.unit.input_vars_tools package#

Submodules#

umami.tests.unit.input_vars_tools.test_input_vars_tools module#

Unit tests for input variable plots.

class umami.tests.unit.input_vars_tools.test_input_vars_tools.HelperFunctionTestCase(methodName='runTest')#

Bases: TestCase

Test class for helper functions.

setUp()#

Hook method for setting up the test fixture before exercising it.

test_get_datasets_configuration_all_default()#

Test the helper function for the default case (same class labels for both datasets)

test_get_datasets_configuration_specific_class_labels()#

Test the helper function for the case of specifying specific class labels for one of the datasets

class umami.tests.unit.input_vars_tools.test_input_vars_tools.JetPlottingTestCase(methodName='runTest')#

Bases: TestCase

Test class for jet plotting functions.

setUp()#

Create a default dataset for testing.

test_plot_input_vars_jets()#

Test jet input variable plots.

test_plot_input_vars_jets_comparison()#

Test jet input variable plot with comparison.

test_plot_input_vars_jets_comparison_wrong_type()#

Test jet input plots with comparison and wrong type.

test_plot_input_vars_jets_log_value_error()#

Test jet input plots error raising for log.

test_plot_input_vars_jets_wrong_type()#

Test jet input variable plots with wrong type.

test_plot_input_vars_trks()#

Test track input variables with wrong type.

test_plot_input_vars_trks_comparison()#

Test plotting track input variables with comparison.

test_plot_input_vars_trks_comparison_not_normalised()#

Test track variable plots without normalisation.

test_plot_input_vars_trks_comparison_wrong_type()#

Test track input variables with comparison and wrong type.

test_plot_input_vars_trks_log_error_raise()#

Test track input variables log ValueError raise.

test_plot_input_vars_trks_wrong_type()#

Test track input variable plots with wrong type.

test_plot_n_tracks_per_jet()#

Test plotting n tracks per jet.

Module contents#