def test_version(): assert chatcommands.version( ) == '{id} [{commit_name}]({repository}/commit/{commit_code})'.format( id=GlobalVars.location, commit_name=GlobalVars.commit_with_author, commit_code=GlobalVars.commit['id'], repository=GlobalVars.bot_repository)
def test_version(): assert chatcommands.version() == '{id} [{commit_name}]({repository}/commit/{commit_code})'.format( id=GlobalVars.location, commit_name=GlobalVars.commit_with_author, commit_code=GlobalVars.commit.id, repository=GlobalVars.bot_repository)