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
()¶