[Zope-Checkins] CVS: Zope3/lib/python/Zope/Server/POP3/tests - foo_mb.py:1.1.2.2 testPOP3Message.py:1.1.2.2 testPOP3MessageList.py:1.1.2.3 testPOP3Server.py:1.1.2.3

Shane Hathaway shane@cvs.zope.org
Thu, 11 Apr 2002 10:13:18 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/Server/POP3/tests
In directory cvs.zope.org:/tmp/cvs-serv24692/POP3/tests

Modified Files:
      Tag: Zope3-Server-Branch
	foo_mb.py testPOP3Message.py testPOP3MessageList.py 
	testPOP3Server.py 
Log Message:
Removed CRs


=== Zope3/lib/python/Zope/Server/POP3/tests/foo_mb.py 1.1.2.1 => 1.1.2.2 ===
 From srichter@iuveno-net.de Sun Apr  7 11:14:50 2002
 Received: from Stephan.iuveno-net.de (bohr.cbu.edu [192.168.160.8])
-	by cbu.edu (8.11.6+Sun/8.11.6) with ESMTP id g37GEnM20286
-	for <srichter@cbu.edu>; Sun, 7 Apr 2002 11:14:50 -0500 (CDT)
+        by cbu.edu (8.11.6+Sun/8.11.6) with ESMTP id g37GEnM20286
+        for <srichter@cbu.edu>; Sun, 7 Apr 2002 11:14:50 -0500 (CDT)
 Message-Id: <5.1.0.14.2.20020407111422.00bc5fd0@imail.iuveno-net.de>
 X-Sender: srichter@imail.iuveno-net.de
 X-Mailer: QUALCOMM Windows Eudora Version 5.1
@@ -40,8 +40,8 @@
 
 From srichter@iuveno-net.de Sun Apr  7 11:15:29 2002
 Received: from Stephan.iuveno-net.de (bohr.cbu.edu [192.168.160.8])
-	by cbu.edu (8.11.6+Sun/8.11.6) with ESMTP id g37GFSM20303;
-	Sun, 7 Apr 2002 11:15:28 -0500 (CDT)
+        by cbu.edu (8.11.6+Sun/8.11.6) with ESMTP id g37GFSM20303;
+        Sun, 7 Apr 2002 11:15:28 -0500 (CDT)
 Message-Id: <5.1.0.14.2.20020407111444.00bc5b20@imail.iuveno-net.de>
 X-Sender: srichter@imail.iuveno-net.de
 X-Mailer: QUALCOMM Windows Eudora Version 5.1
@@ -62,8 +62,8 @@
 
 From srichter@iuveno-net.de Sun Apr  7 11:16:00 2002
 Received: from Stephan.iuveno-net.de (bohr.cbu.edu [192.168.160.8])
-	by cbu.edu (8.11.6+Sun/8.11.6) with ESMTP id g37GFxM20326;
-	Sun, 7 Apr 2002 11:16:00 -0500 (CDT)
+        by cbu.edu (8.11.6+Sun/8.11.6) with ESMTP id g37GFxM20326;
+        Sun, 7 Apr 2002 11:16:00 -0500 (CDT)
 Message-Id: <5.1.0.14.2.20020407111522.02331ac0@imail.iuveno-net.de>
 X-Sender: srichter@imail.iuveno-net.de
 X-Mailer: QUALCOMM Windows Eudora Version 5.1


=== Zope3/lib/python/Zope/Server/POP3/tests/testPOP3Message.py 1.1.2.1 => 1.1.2.2 ===
 import tempfile
 
-from Interface.Verify import verifyClass 
+from Interface.Verify import verifyClass
 
 from Zope.Server.POP3.IPOP3Message import IPOP3Message
 from Zope.Server.POP3.POP3Message import POP3Message
@@ -34,9 +34,9 @@
     def setUp(self):
         fn = tempfile.mktemp()
         open(fn, 'w').write(foo_mb.mailbox[1:663])
-        msg = rfc822.Message(open(fn, 'r')) 
+        msg = rfc822.Message(open(fn, 'r'))
         self.msg = POP3Message(msg)
-        
+
 
     def testIsDeleted(self):
         self.assertEqual(self.msg.isDeleted(), 0)


=== Zope3/lib/python/Zope/Server/POP3/tests/testPOP3MessageList.py 1.1.2.2 => 1.1.2.3 ===
 import os
 
-from Interface.Verify import verifyClass 
+from Interface.Verify import verifyClass
 
 from Zope.Server.POP3.IPOP3MessageList import IPOP3MessageList
 from Zope.Server.POP3.POP3MessageList import POP3MessageList
@@ -37,7 +37,7 @@
         open(os.path.join(dir, 'foo'), 'w').write(foo_mb.mailbox)
         self.msg_list = POP3MessageList(OSFileSystem(dir), 'foo')
         self.msg_list.open()
-    
+
     def testOpen(self):
         self._messagelist = []
         self.msg_list.open()
@@ -55,11 +55,11 @@
         self.assertEqual(self.msg_list.getMessage(1), msg)
 
     def testGetTotal(self):
-        self.assertEqual(self.msg_list.getTotalSize(), 2062)        
+        self.assertEqual(self.msg_list.getTotalSize(), 2062)
 
     def testGetIndex(self):
         msg = self.msg_list._messagelist[0]
-        self.assertEqual(self.msg_list.getIndex(msg), 1)        
+        self.assertEqual(self.msg_list.getIndex(msg), 1)
 
     def testInterface(self):
         self.failUnless(IPOP3MessageList.isImplementedByInstancesOf(


=== Zope3/lib/python/Zope/Server/POP3/tests/testPOP3Server.py 1.1.2.2 => 1.1.2.3 ===
             self.assertEqual(pop.pass_('bar'),
                              status_msgs['OK_LOGIN'])
-            
+
         return pop
 
 
@@ -128,7 +128,7 @@
         self.assertEqual(pop.apop('foo', 'bar'),
                          status_msgs['OK_LOGIN'])
         pop.quit()
-        
+
 
     def testDELE(self):
         pop = self.getPOP3Connection(1)
@@ -198,8 +198,8 @@
             self.assertEqual(str(error),
                              status_msgs['ERR_MSG_UNKNOWN'])
         pop.quit()
-    
-    
+
+
     def testRSET(self):
         pop = self.getPOP3Connection(1)
         pop.dele(1)
@@ -207,15 +207,15 @@
         pop.rset()
         self.assertEqual(len(pop.list()[1]), 3)
         pop.quit()
-    
-    
+
+
     def testSTAT(self):
         pop = self.getPOP3Connection(1)
         self.assertEqual(pop.stat(),
                          (2062, 3))
         pop.quit()
-    
-    
+
+
     def testTOP(self):
         pop = self.getPOP3Connection(1)
         self.assertEqual(pop.top(1, 2),
@@ -227,8 +227,8 @@
             self.assertEqual(str(error),
                              status_msgs['ERR_MSG_UNKNOWN'])
         pop.quit()
-    
-    
+
+
     def testUIDL(self):
         pop = self.getPOP3Connection(1)
         self.assertEqual(pop.uidl(),