(self, uri)
| 48 | |
| 49 | class TestAtlasConnect(PyMongoTestCase): |
| 50 | def connect(self, uri): |
| 51 | if not uri: |
| 52 | raise Exception("Must set env variable to test.") |
| 53 | client = self.simple_client(uri) |
| 54 | # No TLS error |
| 55 | client.admin.command("ping") |
| 56 | # No auth error |
| 57 | client.test.test.count_documents({}) |
| 58 | |
| 59 | @unittest.skipUnless(_has_sni(True), "Free tier requires SNI support") |
| 60 | def test_free_tier(self): |
no test coverage detected