'Tests __iter__ and while loop reaches 0.'

def test_count_reaches_0(self):

    cassette_name = self.cassette_name('count_reaches_0')
    with self.recorder.use_cassette(cassette_name):
        users_iter = self.gh.all_users(number=1)
        assert isinstance(next(users_iter), github3.users.ShortUser)
        with pytest.raises(StopIteration):
            next(users_iter)
