summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_ftplib.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/Lib/test/test_ftplib.py b/Lib/test/test_ftplib.py
index f93a621..25e34be 100644
--- a/Lib/test/test_ftplib.py
+++ b/Lib/test/test_ftplib.py
@@ -530,6 +530,14 @@ class TestFTPClass(TestCase):
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')