def METHOD_NAME(self):
    """Test get_datasets_for_projectid raises on HTTP exception."""
    http_mocks.mock_http_response(fbq.PERMISSION_DENIED, '403')
    with self.assertRaises(api_errors.ApiExecutionError):
         self.bq_api_client.get_datasets_for_projectid(fbq.PROJECT_IDS[0])