PYTHON-2972 Test Failure - test_srv_max_hosts_kwarg when dnspython is not installed (#768)
This commit is contained in:
parent
3235f96590
commit
9844d3dc03
@ -1641,6 +1641,8 @@ class TestClient(IntegrationTest):
|
||||
self.assertEqual(client._topology_settings._srv_service_name,
|
||||
'customname')
|
||||
|
||||
@unittest.skipUnless(
|
||||
_HAVE_DNSPYTHON, "DNS-related tests need dnspython to be installed")
|
||||
def test_srv_max_hosts_kwarg(self):
|
||||
client = MongoClient(
|
||||
'mongodb+srv://test1.test.build.10gen.cc/')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user