Ejemplo n.º 1
0
class TestHelperJobCreation(UnitTestCase):
    def setUp(self):
        super(TestHelperJobCreation, self).setUp()
        self.job = EchoJob()
        register_mock_jobs_and_commands()

    def test_commands_retrieved(self):
        self.assert_equals(1, len(self.job.get_commands()))
Ejemplo n.º 2
0
 def setUp(self):
     super(TestHelperJobCreation, self).setUp()
     self.job = EchoJob()
     register_mock_jobs_and_commands()