'Calling DELETE /json/users/me/subscriptions should successfully remove streams,
and should determine which were removed vs which weren\'t subscribed to.
We cannot randomly generate stream names because the remove code
verifies whether streams exist.'

def test_successful_subscriptions_remove(self):

    self.assertGreaterEqual(len(self.streams), 2)
    streams_to_remove = self.streams[1:]
    not_subbed = []
    for stream in Stream.objects.all():
        if (stream.name not in self.streams):
            not_subbed.append(stream.name)
    random.shuffle(not_subbed)
    self.assertNotEqual(len(not_subbed), 0)
    try_to_remove = not_subbed[:3]
    streams_to_remove.extend(try_to_remove)
    self.helper_check_subs_before_and_after_remove(streams_to_remove, {'removed': self.streams[1:], 'not_subscribed': try_to_remove}, self.test_email, [self.streams[0]], self.test_realm)
