Ejemplo n.º 1
0
 def test_run(self):
     w = worker()
     w.target.run = Mock()
     w.run()
     w.target.run.assert_called_with()
Ejemplo n.º 2
0
 def test_run(self):
     w = worker()
     w.target.run = Mock()
     w.run()
     w.target.run.assert_called_with()
Ejemplo n.º 3
0
 def test_get_options(self):
     self.assertTrue(worker(app=self.app).get_options())
Ejemplo n.º 4
0
 def test_get_options(self):
     self.assertTrue(worker(app=self.app).get_options())