def test_refresh(self): with mock.patch.object(c.app.repo, "refresh") as f: repo_tasks.refresh() f.assert_called_with()
def test_refresh_commit(self): repo_tasks.refresh()
def test_refresh(self): with mock.patch.object(c.app.repo, 'refresh') as f: repo_tasks.refresh() f.assert_called_with()