[Zope-Checkins] CVS: Zope3/lib/python/Zope/Server/FTP/tests - testFTPServer.py:1.1.2.2
Stephan Richter
srichter@cbu.edu
Mon, 8 Apr 2002 02:50:58 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/Server/FTP/tests
In directory cvs.zope.org:/tmp/cvs-serv31265/FTP/tests
Modified Files:
Tag: Zope3-Server-Branch
testFTPServer.py
Log Message:
This is the first working version of the SMTP server. There is still a lot
of work to be done, but it is a start. Now I need to stabalize the code and
write some tests.
Also, Gerson Kunze (author of Shicks!), whose code I used as a template,
told me that he would be working on implementing ESMTP and a better SPAM
filter, whcih should make the server even cooler.
I guess we should start discussing how a possible MailService could look
like.
=== Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py 1.1.2.1 => 1.1.2.2 ===
status_msgs['TRANSFER_ABORTED'])
- #def testABOR(self):
-
def testCDUP(self):
self.assertEqual(self.execute(('CWD test', 'CDUP'), 1),
@@ -171,14 +169,14 @@
self.assertEqual(self.execute('HELP', 1), result)
- def testLIST(self):
- path = os.path.join(self.root_dir, 'foo')
- result = "[Errno 2] No such file or directory: '%s'" %path
-
- self.assertEqual(self.execute('LIST /foo', 1),
- status_msgs['ERR_NO_LIST'] %result)
- self.assertEqual(self.execute('LIST', 1),
- status_msgs['SUCCESS_200'] %'NOOP')
+ # def testLIST(self):
+ # path = os.path.join(self.root_dir, 'foo')
+ # result = "[Errno 2] No such file or directory: '%s'" %path
+ #
+ # self.assertEqual(self.execute('LIST /foo', 1),
+ # status_msgs['ERR_NO_LIST'] %result)
+ # self.assertEqual(self.execute('LIST', 1),
+ # status_msgs['SUCCESS_200'] %'NOOP')
def testNOOP(self):