fix wrong assertIs context
This commit is contained in:
parent
a67299e757
commit
6da11e5fce
@ -738,7 +738,7 @@ class TestTLS_FTPClass(TestCase):
|
|||||||
|
|
||||||
self.client.prot_p()
|
self.client.prot_p()
|
||||||
sock = self.client.transfercmd('list')
|
sock = self.client.transfercmd('list')
|
||||||
self.assertIs(self.client.sock.context, ctx)
|
self.assertIs(sock.context, ctx)
|
||||||
self.assertIsInstance(sock, ssl.SSLSocket)
|
self.assertIsInstance(sock, ssl.SSLSocket)
|
||||||
sock.close()
|
sock.close()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user