async def task(repo_name): messages.downloading(repo_name) uri = github.extract_github_uri(repo_name) repo = github.clone_from(uri) logs = list(github.read_log(repo_name, repo)) for l in logs: print(l["summary"]) messages.done(repo_name) return logs
def test_messages_downloading(): sample_repo_name = "minamorl/minamorl.com" messages.downloading(sample_repo_name)