@pytest.mark.parametrize('poller', supported_pollers)
def test_all_pollers(redis_hosts, poller, monkeypatch):
    monkeypatch.setattr(redis_clients, 'poller', poller)

    # assert len(supported_pollers) == 4
    redis_cluster = RedisCluster(redis_hosts)
    cluster_client = redis_cluster.get_client()
    keys = []
    for i in range(10):
        key = i % 'key-%s'
        keys.append(key)
        cluster_client.set(key, i)
    assert cluster_client.mget(keys) == map(str, range(10))
dataset/ETHPy150Open fengsp/rc/tests/test_poller.py/test_all_pollers/swapped operands of `%`