def test_registers_mkdir_task(self): registry = mck.TaskRegistryDouble() mkd.register_tasks(registry) self.assertTrue(registry.contains('mkdir'))
def setUp(self): self.registry = mck.TaskRegistryDouble() df.register_tasks(self.registry) return super(TestRegisterTasks, self).setUp()
def test_registers_setup(self): registry = mck.TaskRegistryDouble() bsetup.register_tasks(registry) self.assertTrue(registry.contains('setup'))
def test_coverage_task_is_registered(self): registry = mck.TaskRegistryDouble() cov.register_tasks(registry) self.assertTrue(registry.contains('coverage'))
def test_registers_pip(self): registry = mck.TaskRegistryDouble() bpip.register_tasks(registry) self.assertTrue(registry.contains('pip'))
def test_registers_sleep_task(self): registry = mck.TaskRegistryDouble() btsleep.register_tasks(registry) self.assertTrue(registry.contains('sleep'))
def test_registers_shell(self): registry = mck.TaskRegistryDouble() bsh.register_tasks(registry) self.assertTrue(registry.contains('shell'))
def test_registers_nose_task(self): registry = mck.TaskRegistryDouble() bnose.register_tasks(registry) self.assertTrue(registry.contains('nose'))
def test_registers_conttest_task(self): registry = mck.TaskRegistryDouble() ct.register_tasks(registry) self.assertTrue(registry.contains('conttest'))
def test_registers_set_vars_task(self): registry = mck.TaskRegistryDouble() bt_svars.register_tasks(registry) self.assertTrue(registry.contains('set-vars'))