'Ensure we can specify a max connection pool size using
an option in a connection URI.'

def test_connection_pool_via_uri(self):

    if ((pymongo.version_tuple[0] == 2) and (pymongo.version_tuple[1] < 9)):
        raise SkipTest('maxpoolsize    as    a    URI    option    is    only    supported    in    PyMongo    v2.9+')
    conn = connect(host='mongodb://localhost/test?maxpoolsize=100', alias='max_pool_size_via_uri')
    self.assertEqual(conn.max_pool_size, 100)
