def test_it_should_return_the_correct_blocked_by_list(self): amico = Amico(redis_connection=self.redis_connection) amico.block(11, 1) amico.block(12, 1) amico.blocked_by(1).should.equal(["12", "11"])