def setUp(self):
        try:
            self.access_token = os.environ['FACEBOOK_ACCESS_TOKEN']
            self.app_id = os.environ['FACEBOOK_APP_ID']
            self.app_secret = os.environ['FACEBOOK_APP_SECRET']
            self.api = facebook.AdsAPI(
                self.access_token, self.app_id, self.app_secret)
        except __HOLE__:
            raise Exception("FACEBOOK_ACCESS_TOKEN, FACEBOOK_APP_ID, and "
                            "FACEBOOK_APP_SECRET must be set as environmental "
                            "variables.")
dataset/ETHPy150Open narrowcast/facebook-ads-api/test_facebook.py/FacebookAdsAPITest.setUp