def _register_standard_modules(registry): bolt_delete_files.register_tasks(registry) bolt_pip.register_tasks(registry) bolt_setup.register_tasks(registry) bolt_shell.register_tasks(registry) bolt_conttest.register_tasks(registry) bolt_nose.register_tasks(registry) bolt_mkdir.register_tasks(registry) bolt_coverage.register_tasks(registry)
def test_coverage_task_is_registered(self): registry = mck.TaskRegistryDouble() cov.register_tasks(registry) self.assertTrue(registry.contains('coverage'))