def main(): games = search_games(where='name like "%boulder%"') dic = dict([(norm(x.name), x) for x in games]) name = choice(sorted(dic.keys())) if name: game = dic[name] run_game(game.source, game.id, auto_install=1)
def test_boulder(): games = search_games(where='name like "%boulder%"') print games assert games