def test_get_customer_action_details_by_date_with_wrong_date(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/GetCustomerActionDetailsByDate',
callback=get_customer_action_details_by_date_callback,
content_type='application/json'
)
client = Client('username', 'password')
data = client.customers.get_customer_action_details_by_date('3014-12-10')
self.assertFalse(data)
评论列表
文章目录