Ejemplo n.º 1
0
 def test_speak_room_receives_event(self):
     speak(self.actor, "foo")
     assert self.target.delegate.received == \
                               [SpeakNormalThirdEvent(self.actor, "foo")]
Ejemplo n.º 2
0
 def test_speak_room_receives_event(self):
     speak(self.actor, "foo")
     assert self.target.delegate.received == \
                               [SpeakNormalThirdEvent(self.actor, "foo")]
Ejemplo n.º 3
0
 def test_speak_actor_receives_event(self):
     speak(self.actor, "foo")
     assert self.actor.delegate.received == [SpeakNormalFirstEvent("foo")]
Ejemplo n.º 4
0
 def test_speak_actor_receives_event(self):
     speak(self.actor, "foo")
     assert self.actor.delegate.received == [SpeakNormalFirstEvent("foo")]