Esempio n. 1
0
 def test_champion_masteries_json_config(self):
     config_json = {'riot': {'key_id': '<hand enter key before running>'}}
     riot = Rest(config_json, ignore_limiter=True).Riot
     summoner = riot.get_summoner_by_name('pandaxcentric')
     champions = riot.champion_masteries(summoner['id'])
     assert len(champions) >= 0
Esempio n. 2
0
 def test_champion_masteries(self):
     riot = Rest('config.yaml', ignore_limiter=True).Riot
     summoner = riot.get_summoner_by_name('pandaxcentric')
     champions = riot.champion_masteries(summoner['id'])
     assert len(champions) >= 0