Commits

wump committed 182dba7

test should use assertEqual

  • Participants
  • Parent commits b11391e
  • Branches tostring

Comments (0)

Files changed (1)

File loggerglue/tests/server.py

         thr.join()
         serv.socket.close()
         
-        print serv.entry.msg == "An application event log entry through TCP..."
+        self.assertEqual(serv.entry.msg, "An application event log entry through TCP...")
 
     def test_tcps(self):
         address = ('127.0.0.1', 5515)
         os.unlink(keyfile.name)
         os.unlink(certfile.name)
 
-        print serv.entry.msg == "An application event log entry through TCPS..."
+        self.assertEqual(serv.entry.msg, "An application event log entry through TCPS...")
 
 if __name__ == '__main__':
     unittest.main()