def convert_args(command, text):
    """Convert the arguments of a command to a tuple.

    Input looks something like:
    assertErrorOnNext
		(
			message
		)

    """
    raw_args = text.replace(command, '').replace('(', '').replace(')', '')
    if raw_args.strip():
        args = tuple(x.strip() for x in raw_args.split(','))
    else:
        # Prevent argument form being an empty string:
        args = ()
    return args