def test_it_should_remove_follower_and_following_relationships(self): amico = Amico(redis_connection=self.redis_connection) amico.follow(1, 11) amico.follow(11, 1) amico.following_count(1).should.equal(1) amico.followers_count(1).should.equal(1) amico.reciprocated_count(1).should.equal(1) amico.following_count(11).should.equal(1) amico.followers_count(11).should.equal(1) amico.reciprocated_count(11).should.equal(1) amico.clear(1) amico.following_count(1).should.equal(0) amico.followers_count(1).should.equal(0) amico.reciprocated_count(1).should.equal(0) amico.following_count(11).should.equal(0) amico.followers_count(11).should.equal(0) amico.reciprocated_count(11).should.equal(0)