def test_get_customer_actions_by_target_group_with_wrong_delimiter(self):
responses.add_callback(
responses.POST,
'https://api.optimove.net/v3.0/general/login',
callback=login_callback,
content_type='application/json'
)
responses.add_callback(
responses.GET,
'https://api.optimove.net/v3.0/customers/GetCustomerActionsByTargetGroup',
callback=get_customer_actions_by_target_group_callback,
content_type='application/json'
)
client = Client('username', 'password')
self.assertRaises(Exception, client.customers.get_customer_actions_by_target_group, 2, '2015-12-24',
True, ['Alias', 'Country'], '/')
评论列表
文章目录