[Python-checkins] cpython (merge 3.3 -> default): merge from 3.3

senthil.kumaran python-checkins at python.org
Tue Aug 13 07:26:25 CEST 2013


http://hg.python.org/cpython/rev/f8942b8e6774
changeset: 85150:f8942b8e6774
parent: 85145:7ba77d77b499
parent: 85149:68b599740aa0
user: Senthil Kumaran <senthil at uthcode.com>
date: Mon Aug 12 22:26:14 2013 -0700
summary:
 merge from 3.3
Increasing test coverage of ftplib. Patch by Muhammad Jehanzeb
files:
 Lib/test/test_ftplib.py | 8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/Lib/test/test_ftplib.py b/Lib/test/test_ftplib.py
--- a/Lib/test/test_ftplib.py
+++ b/Lib/test/test_ftplib.py
@@ -530,6 +530,14 @@
 def test_rmd(self):
 self.client.rmd('foo')
 
+ def test_cwd(self):
+ dir = self.client.cwd('/foo')
+ self.assertEqual(dir, '250 cwd ok')
+
+ def test_mkd(self):
+ dir = self.client.mkd('/foo')
+ self.assertEqual(dir, '/foo')
+
 def test_pwd(self):
 dir = self.client.pwd()
 self.assertEqual(dir, 'pwd ok')
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /