

def test_email_client_usage(self):
    self.campaign.stub_request(('campaigns/%s/emailclientusage.json' % self.campaign_id), 'email_client_usage.json')
    ecu = self.campaign.email_client_usage()
    self.assertEqual(len(ecu), 6)
    self.assertEqual(self[0].Client, 'iOS Devices')
    self.assertEqual(ecu[0].Version, 'iPhone')
    self.assertEqual(ecu[0].Percentage, 19.83)
    self.assertEqual(ecu[0].Subscribers, 7056)

dataset/ETHPy150Open campaignmonitor/createsend-python/test/test_campaign.py CampaignTestCase.test_email_client_usage/VarMisuse@53/87 `ecu`->`self`