Ejemplo n.º 1
0
    def test_get_players_config_json(self):
        config_json = {'pubg': {'key_id': '<hand enter key before running>'}}
        pubg = Rest(config_json, ignore_limiter=True).Pubg
        players = pubg.get_players('playerNames', ['shroud'])

        assert len(players['data']) > 0
Ejemplo n.º 2
0
    def test_get_players(self):
        pubg = Rest('config.yaml', ignore_limiter=True).Pubg
        players = pubg.get_players('playerNames', ['shroud'])

        assert len(players['data']) > 0