def METHOD_NAME():
    tokens = tokenize_target("foo -opt1=value1 --flag, bar -opt2=value2")
    expected_tokens = ["foo", "-opt1=value1", "--flag", ",", "bar", "-opt2=value2"]
    assert len(tokens) == len(expected_tokens)
    assert tokens == expected_tokens