def step_impl(context): response = get_todo(context.todo['id']) assert 'categories' not in response.json()['todos'][0]
def step_impl(context, todoTitle, priorityLevel): response = get_todo(context.todo['id']) assert response.json( )['todos'][0]['categories'][0]['id'] == context.category['id']
def step_impl(context, todoTitle): response = get_todo(context.todo['id']) assert len(response.json()['todos'][0]['categories']) == 2
def step_impl(context): response = get_todo(context.todo['id']) assert (response.status_code) == 404
def step_impl(context, taskTitle): assert len(get_todo( context.todo_id).json()['todos'][0]['description']) == 0
def step_impl(context, taskTitle, newDescription): assert get_todo( context.todo_id).json()['todos'][0]['description'] == newDescription
def step_impl(context, taskTitle): response = get_todo(context.todo['id']) assert response.json()['todos'][0]['doneStatus'] == "false"
def step_impl(context): response = get_todo(context.todo['id']) print(response) assert response.json()['todos'][0]['doneStatus'] == "true"