Changeset 130
- Timestamp:
- 2002-03-30 18:45:55 (7 years ago)
- Files:
-
- trunk/_test_ftputil.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/_test_ftputil.py
r129 r130 30 30 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 31 32 # $Id: _test_ftputil.py,v 1.4 2 2002/03/30 18:40:23schwa Exp $32 # $Id: _test_ftputil.py,v 1.43 2002/03/30 18:45:55 schwa Exp $ 33 33 34 34 import unittest … … 364 364 self.assertRaises(IndexError, operator.__getitem__, 365 365 xrl_obj, 3) 366 367 def test_read_unknown_file(self): 368 """Test whether reading a file which isn't there fails.""" 369 host = ftp_host_factory() 370 self.assertRaises(ftputil.FTPIOError, host.file, 371 'notthere', 'r') 366 372 # 367 373 # def test_read_from_host(self): … … 370 376 # host.chdir(self.testdir) 371 377 # self.remote_name = '__test.dat' 372 # # try to read a file which isn't there373 # self.assertRaises(ftputil.FTPIOError, host.file,374 # 'notthere', 'r')375 378 # self.ascii_read() 376 379 # self.ascii_readline()
