def test_it_should_return_the_correct_pending_list(self): amico = Amico( options={ 'pending_follow': True}, redis_connection=self.redis_connection) amico.follow(1, 11) amico.follow(11, 1) amico.pending(1).should.equal(["11"]) amico.pending(11).should.equal(["1"])