def test_summonerspells(): sspells = cass.get_summoner_spells(region="NA") for sspell in sspells: if set(sspell.modes) & {GameMode.classic, GameMode.aram, GameMode.poro_king, GameMode.ascension}: "Name:", sspell.name "Description:", sspell.description sspell = SummonerSpell(name="Ghost", region="NA") sspell.description
def get_summoner_spells(): sspells = cass.get_summoner_spells() for sspell in sspells: #if "Disabled" not in sspell.name: if set(sspell.modes) & { GameMode.classic, GameMode.aram, GameMode.poro_king, GameMode.ascension }: print("Name:", sspell.name) print("Description:", sspell.description) print() sspell = SummonerSpell(name="Ghost") print(sspell.description)