'Check that clients are scheduled only if the hunt is running.'

def testHuntClientRateWithPause(self):

    start_time = 10
    client_ids = self.SetupClients(10)
    with test_lib.FakeTime(start_time):
        (worker_mock, hunt_urn) = self._RunRateLimitedHunt(client_ids, start_time)
        with aff4.FACTORY.Open(hunt_urn, age=aff4.ALL_TIMES, mode='rw', token=self.token) as hunt_obj:
            hunt_obj.Stop()
        for i in range(len(client_ids)):
            with test_lib.FakeTime(((start_time + 1) + (60 * i))):
                worker_mock.Simulate()
        self.assertEqual(len(DummyHunt.client_ids), 1)
