From fe1f90bcd15600b7d601bce09eedfbd3e98a53c5 Mon Sep 17 00:00:00 2001 From: James Lu Date: Mon, 6 Jul 2015 12:53:24 -0700 Subject: [PATCH] FakeIRC: swap arrows in debug output This is for more consistency with the real protocol debug output: -> is protocol OUTBOUND - irc.send() <- is protocol INBOUND - irc.run() --- tests/test_proto_common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_proto_common.py b/tests/test_proto_common.py index a6cf410..6dde294 100644 --- a/tests/test_proto_common.py +++ b/tests/test_proto_common.py @@ -29,12 +29,12 @@ class FakeIRC(main.Irc): def run(self, data): """Queues a message to the fake IRC server.""" - log.debug('-> ' + data) + log.debug('<- ' + data) self.proto.handle_events(self, data) def send(self, data): self.messages.append(data) - log.debug('<- ' + data) + log.debug('-> ' + data) def takeMsgs(self): """Returns a list of messages sent by the protocol module since