def test_task_status_show(): results = get.resource_search(client=client.Client(), query='name:bus-stops') assert results['success'] is True if results['result']['count'] > 0: id = results['result']['results'][0]['id'] results = get.resource_status_show(client=client.Client(), id=id) assert results['success'] is True if results['result']['message']: return results = get.task_status_show(client=client.Client(), entity_id=id) assert results['success'] is True
def test_task_status_show(): results = get.task_status_show(entity_id=98) assert results['success'] is True