Ejemplo n.º 1
0
 def test_refresh(self):
     with mock.patch.object(c.app.repo, "refresh") as f:
         repo_tasks.refresh()
         f.assert_called_with()
Ejemplo n.º 2
0
 def test_refresh_commit(self):
     repo_tasks.refresh()
Ejemplo n.º 3
0
 def test_refresh_commit(self):
     repo_tasks.refresh()
Ejemplo n.º 4
0
 def test_refresh(self):
     with mock.patch.object(c.app.repo, 'refresh') as f:
         repo_tasks.refresh()
         f.assert_called_with()