Commits

Marcin Kasperski  committed 47e498b

TODO notif

  • Participants
  • Parent commits 330bb83

Comments (0)

Files changed (1)

File tests/test_parser.py

         self.failUnlessEqual(cmd, "who")
         raise NotImplementedError() # Testy co ma wyjść
 
+class NotificationTestCase(unittest.TestCase):
+
+    def test_arrival(self):
+        cmd, status, info = parse_fics_reply(
+            'Notification: Mekk has arrived.')
+
+    def test_departure(self):
+        cmd, status, info = parse_fics_reply(
+            'Notification: Mekk has departed.')
+
 
 
 if __name__ == "__main__":