def METHOD_NAME(api):
    '''
    test to raise the exception when type of task_uuid is not as defined
    '''
    with pytest.raises(TypeError) as type_error:
        api.agents.task_status(task_uuid=11, scanner_id=11)
    assert len(type_error.value.args) == 1, "Test-case should raise only one validation error."
    assert "task_uuid is of type int.  Expected str" in type_error.value.args[0], \
        "Missing value of required task_uuid parameter error is not raised by test-case."