(self)
| 721 | 'port') |
| 722 | |
| 723 | def test_makepasv(self): |
| 724 | host, port = self.client.makepasv() |
| 725 | conn = socket.create_connection((host, port), timeout=TIMEOUT) |
| 726 | conn.close() |
| 727 | # IPv4 is in use, just make sure send_epsv has not been used |
| 728 | self.assertEqual(self.server.handler_instance.last_received_cmd, 'pasv') |
| 729 | |
| 730 | def test_makepasv_issue43285_security_disabled(self): |
| 731 | """Test the opt-in to the old vulnerable behavior.""" |
nothing calls this directly
no test coverage detected