async def METHOD_NAME(c, s, a, b):
    """Test Client.rebalance(). This test is just to test the TLS Client wrapper around
    Scheduler.rebalance(); for more thorough tests on the latter see test_scheduler.py.
    """
    assert a.address.startswith("tls://")
    futures = await c.scatter(range(100), workers=[a.address])
    assert len(a.data) == 100
    assert len(b.data) == 0
    await c.rebalance()
    assert len(a.data) == 50
    assert len(b.data) == 50