(self)
| 667 | @unittest.skipUnless(_HAVE_PYOPENSSL, "PyOpenSSL is not available.") |
| 668 | @unittest.skipUnless(HAVE_SSL, "The ssl module is not available.") |
| 669 | def test_pyopenssl_ignored_in_async(self): |
| 670 | client = MongoClient("mongodb://localhost:27017?tls=true&tlsAllowInvalidCertificates=true") |
| 671 | client.admin.command("ping") # command doesn't matter, just needs it to connect |
| 672 | client.close() |
| 673 | |
| 674 | |
| 675 | if __name__ == "__main__": |
nothing calls this directly
no test coverage detected