Пример #1
0
 def testGet(self):
     loader = Campaign(CampaignTest.conn)
     campaigns = loader.find()
     for campaign in campaigns:
         assert campaign.get('name') is not None
Пример #2
0
 def testGet(self):
     loader = Campaign(CampaignTest.conn)
     campaigns = loader.find()
     for campaign in campaigns:
         assert campaign.get('name') is not None
Пример #3
0
 def testGet(self):
     loader = Campaign(CampaignTest.conn)
     campaigns = json.loads(loader.find())
     for campaign in campaigns.get('data').get('response').get('campaigns'):
         assert campaign.get('name') is not None