def test_update_should_call_workflow_update(self, call_alfred_fun, workflow_fun): # GIVEN # WHEN route([':config update', '--exec']) # THEN self.assertTrue(wf.start_update.called)
def main(wf): route(wf.args)
def test_delcache_should_invalidate_cache(self, call_alfred_fun, workflow_fun): # GIVEN # WHEN route([':config sync', '--exec']) # THEN self.assertTrue(wf.clear_cache.called)