def test_get_team_matches(self): dota = Rest('config.yaml', ignore_limiter=True).OpenDota team = teams = dota.get_teams()[0] matches = dota.get_team_matches(team['team_id']) assert len(matches) > 0
def test_get_teams(self): dota = Rest('config.yaml', ignore_limiter=True).OpenDota teams = dota.get_teams() assert len(teams) > 0 assert 'team_id' in teams[0]