def test_it_should_remove_the_pending_relationship_without_following_or_blocking( self): amico = Amico( options={ 'pending_follow': True}, redis_connection=self.redis_connection) amico.follow(1, 11) amico.is_pending(1, 11).should.be.true amico.is_pending_with(11, 1).should.be.true amico.deny(1, 11) amico.is_following(1, 11).should.be.false amico.is_pending(1, 11).should.be.false amico.is_pending_with(11, 1).should.be.false amico.is_blocked(1, 11).should.be.false