def METHOD_NAME(self):
    try:
        cosmos_client.CosmosClient(url=_test_config.host, credential="wrong_key")
    except exceptions.CosmosHttpResponseError as e:
        self.assertEqual(e.status_code, http_constants.StatusCodes.UNAUTHORIZED)