Exemplo n.º 1
0
def main():
    service.prepare_service()
    manager.run()
    return 0
Exemplo n.º 2
0
 def test_run(self):
     with mock.patch.object(manager, '_start') as mock_start:
         manager.run()
         self.assertTrue(mock_start.called)