def METHOD_NAME(self):
    pydocumentdb = cosmosdbsql.pydocumentdb
    try:
        cosmosdbsql.pydocumentdb = None
        with pytest.raises(ImproperlyConfigured):
            CosmosDBSQLBackend(app=self.app, url=self.url)
    finally:
        cosmosdbsql.pydocumentdb = pydocumentdb