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