Example #1
0
 def test_registers_mkdir_task(self):
     registry = mck.TaskRegistryDouble()
     mkd.register_tasks(registry)
     self.assertTrue(registry.contains('mkdir'))
Example #2
0
 def setUp(self):
     self.registry = mck.TaskRegistryDouble()
     df.register_tasks(self.registry)
     return super(TestRegisterTasks, self).setUp()
Example #3
0
 def test_registers_setup(self):
     registry = mck.TaskRegistryDouble()
     bsetup.register_tasks(registry)
     self.assertTrue(registry.contains('setup'))
Example #4
0
 def test_coverage_task_is_registered(self):
     registry = mck.TaskRegistryDouble()
     cov.register_tasks(registry)
     self.assertTrue(registry.contains('coverage'))
Example #5
0
 def test_registers_pip(self):
     registry = mck.TaskRegistryDouble()
     bpip.register_tasks(registry)
     self.assertTrue(registry.contains('pip'))
Example #6
0
 def test_registers_sleep_task(self):
     registry = mck.TaskRegistryDouble()
     btsleep.register_tasks(registry)
     self.assertTrue(registry.contains('sleep'))
Example #7
0
 def test_registers_shell(self):
     registry = mck.TaskRegistryDouble()
     bsh.register_tasks(registry)
     self.assertTrue(registry.contains('shell'))
Example #8
0
 def test_registers_nose_task(self):
     registry = mck.TaskRegistryDouble()
     bnose.register_tasks(registry)
     self.assertTrue(registry.contains('nose'))
Example #9
0
 def test_registers_conttest_task(self):
     registry = mck.TaskRegistryDouble()
     ct.register_tasks(registry)
     self.assertTrue(registry.contains('conttest'))
Example #10
0
 def test_registers_set_vars_task(self):
     registry = mck.TaskRegistryDouble()
     bt_svars.register_tasks(registry)
     self.assertTrue(registry.contains('set-vars'))