def test_it_should_return_the_correct_pending_with_page_count(self): amico = Amico( options={ 'pending_follow': True}, redis_connection=self.redis_connection) self.__add_reciprocal_followers(amico) amico.pending_with_page_count(1).should.equal(1) amico.pending_with_page_count(1, 10).should.equal(3) amico.pending_with_page_count(1, 5).should.equal(5)