def test_std_unranked_end2end(): ctx, reply = osubot.scorepost(std_unranked_t) assert str(ctx) == "\n".join([ "Context:", "> Player: Mlaw", "> Beatmap: t+pazolite with Kabocha - Elder Dragon Legend [???]", "> Mode: osu!standard", "> Mods: NoMod", "> Accuracy: 99.95%", "> Guest mapper: None", ]) _assert_match(unranked_header, reply) _assert_match(unranked_subheader, reply) _assert_match(nomod_map_table_header, reply) _assert_match(nomod_map_table_values, reply) _assert_match(player_table_header, reply) _assert_match(player_table_values, reply) _assert_match(footer, reply)
def test_taiko_end2end(): ctx, reply = osubot.scorepost(taiko_t) assert str(ctx) == "\n".join([ "Context:", "> Player: applerss", "> Beatmap: KASAI HARCORES - Cycle Hit [Strike]", "> Mode: osu!taiko", "> Mods: +HDDT", "> Accuracy: 96.67%", "> Guest mapper: None", ]) _assert_match(approved_header, reply) _assert_match(approved_subheader, reply) _assert_match(modded_map_table_header, reply) _assert_match(modded_map_table_values, reply) _assert_match(player_table_header, reply) _assert_match(player_table_values, reply) _assert_match(footer, reply)
def test_std_end2end(): ctx, reply = osubot.scorepost(std_t) assert str(ctx) == "\n".join([ "Context:", "> Player: Cookiezi", "> Beatmap: xi - FREEDOM DiVE [FOUR DIMENSIONS]", "> Mode: osu!standard", "> Mods: +HDHR", "> Accuracy: 99.83%", "> Guest mapper: None", ]) _assert_match(approved_header, reply) _assert_match(approved_subheader, reply) _assert_match(modded_map_table_header, reply) _assert_match(modded_map_table_values, reply) _assert_match(player_table_header, reply) _assert_match(player_table_values, reply) _assert_match(footer, reply)
def test_mania_end2end(): ctx, reply = osubot.scorepost(mania_t) assert str(ctx) == "\n".join([ "Context:", "> Player: WindyS", "> Beatmap: LeaF - Doppelganger [Alter Ego]", "> Mode: osu!mania", "> Mods: NoMod", "> Accuracy: 98.53%", "> Guest mapper: None", ]) _assert_match(approved_header, reply) _assert_match(approved_subheader, reply) _assert_match(nomod_map_table_header, reply) _assert_match(nomod_map_table_values, reply) _assert_match(player_table_header, reply) _assert_match(player_table_values, reply) _assert_match(footer, reply) assert "osu!mania pp is experimental" in reply
def test_ctb_end2end(): ctx, reply = osubot.scorepost(ctb_t) assert str(ctx) == "\n".join([ "Context:", "> Player: Dusk", "> Beatmap: onoken - P8107 [Nervous Breakdown]", "> Mode: osu!catch", "> Mods: +HR", "> Accuracy: 99.92%", "> Guest mapper: None", ]) _assert_match(approved_header, reply) _assert_match(approved_subheader, reply) _assert_match(modded_map_table_header, reply) _assert_match(modded_map_table_values, reply) _assert_match(player_table_header, reply) _assert_match(player_table_values, reply) _assert_match(footer, reply) assert "osu!catch pp is experimental" in reply