'Ensure the connector passes URI options to newly created clients.'

def test_connector_uri_options(self):

    expected_client = MongoClient(self.main_uri)
    def assert_client_options(client):
        self.assertEqual(client.read_preference, expected_client.read_preference)
        self.assertEqual(client.read_preference, ReadPreference.PRIMARY_PREFERRED)
    assert_client_options(self.connector.create_authed_client())
    assert_client_options(self.connector.main_conn)
    for oplog_thread in self.connector.shard_set.values():
        assert_client_options(oplog_thread.primary_client)
