Esempio n. 1
0
    def test_look_at_nowhere(self):
        lookAt(self.actor, MUDObject(None))

        assert self.actor.delegate.received == [UnfoundObjectEvent()]
Esempio n. 2
0
    def test_look_at_exit(self):
        lookAt(self.actor, self.exit)

        assert self.actor.delegate.received == [LookRoomEvent(self.otherroom)]
Esempio n. 3
0
    def test_look_at_inventory_TargettableObject(self):
        lookAt(self.actor, self.invtarget)

        assert self.actor.delegate.received == [LookAtEvent(self.invtarget)]