Skip to content

Commit 2abeac8

Browse files
committed
FTPFS: Add FTPS check to test case.
1 parent e19819b commit 2abeac8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_ftpfs.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ def test_opener(self):
8888
self.assertIsInstance(ftp_fs, FTPFS)
8989
self.assertEqual(ftp_fs.host, "ftp.example.org")
9090

91+
ftps_fs = open_fs("ftps://will:wfc@ftp.example.org")
92+
self.assertIsInstance(ftps_fs, FTPFS)
93+
self.assertTrue(ftps_fs.tls)
94+
9195

9296
class TestFTPErrors(unittest.TestCase):
9397
"""Test the ftp_errors context manager."""

0 commit comments

Comments
 (0)