envisage.tests.test_extension_registry_mixin module¶
Base set of tests for extension registry and its subclasses wrapped in a mixin class.
- class envisage.tests.test_extension_registry_mixin.ExtensionRegistryTestMixin[source]¶
Bases:
object
Base set of tests for extension registry and its subclasses.
Test cases inherriting from this mixin should define a setUp method that defines self.registry as an instance of ExtensionPointRegistry.
- create_extension_point(id, trait_type=<class 'traits.trait_types.List'>, desc='')[source]¶
Create an extension point.
- test_get_extension_point_return_none_if_not_found()[source]¶
get extension point return None if id is not found.