def test_get_short_task_id(): task_id = "ct:1111111111111:0:my_service my_instance gityourmom configyourdad:" assert chronos_serviceinit.get_short_task_id(task_id) == "1111111111111"
def test_get_short_task_id(): task_id = 'ct:1111111111111:0:my_service my_instance gityourmom configyourdad:' assert chronos_serviceinit.get_short_task_id(task_id) == '1111111111111'