hyperspy.tests package

Subpackages

Submodules

hyperspy.tests.test_dictionary_tree_browser module

class hyperspy.tests.test_dictionary_tree_browser.TestDictionaryBrowser

Bases: object

setup_method(method)
test_add_dictionary()
test_add_signal_in_dictionary()
test_date_time_nanosecond_precision()
test_date_time_now()
test_get_item()
test_has_item()
test_signal_to_dictionary()

hyperspy.tests.test_events module

class hyperspy.tests.test_events.EventsBase

Bases: object

on_trigger(**kwargs)
on_trigger2(**kwargs)
trigger_check(trigger, should_trigger, **kwargs)
trigger_check2(trigger, should_trigger, **kwargs)
class hyperspy.tests.test_events.TestEventsSignatures

Bases: hyperspy.tests.test_events.EventsBase

setup_method(method)
test_connected_and_disconnect()
test_trigger_kwarg_validity()
test_type()
class hyperspy.tests.test_events.TestEventsSuppression

Bases: hyperspy.tests.test_events.EventsBase

setup_method(method)
test_exception_event()
test_exception_events()
test_exception_nested()
test_exception_single()
test_simple_suppression()
test_suppresion_nesting()
test_suppress_wrong()
test_suppression_restore()
test_suppression_single()
test_suppressor_add_args()
test_suppressor_all_callback_in_events()
test_suppressor_init_args()
class hyperspy.tests.test_events.TestTriggerArgResolution

Bases: hyperspy.tests.test_events.EventsBase

setup_method(method)
test_all_kwargs_resolution()
test_already_connected()
test_arguments()
test_deepcopy()
test_not_connected()
test_some_kwargs_resolution()
test_wrong_default_order()
test_wrong_kwarg_name()
hyperspy.tests.test_events.f_a(**kwargs)
hyperspy.tests.test_events.f_b(**kwargs)
hyperspy.tests.test_events.f_c(**kwargs)
hyperspy.tests.test_events.f_d(a, b, c)
hyperspy.tests.test_events.test_events_container_magic_attributes()

hyperspy.tests.test_interactive module

class hyperspy.tests.test_interactive.TestInteractive

Bases: object

setup_method(method)
test_chained_interactive()
test_interactive_sum()
test_interactive_sum_auto_event()
test_interactive_sum_no_out()
test_recompute()
test_recompute_auto_recompute()
test_two_recompute_events()
test_two_update_events()

Module contents