def test_command_dnval_nargs():
    set_sysargv(test_command_2)
    c = Command()
    assert c.does_not_validate_n_args(2) == False
    assert c.does_not_validate_n_args(3) == True

    set_sysargv(test_command_3)
    c = Command()
    assert c.does_not_validate_n_args(2) == False
    assert c.does_not_validate_n_args(3) == True

    set_sysargv(test_command_empty_1)
    c = Command()
    assert c.does_not_validate_n_args(0) == False
    assert c.does_not_validate_n_args(1) == True
def test_command_dnval_nargs():
    set_sysargv(test_command_2)
    c = Command()
    assert c.does_not_validate_n_args(2) == False
    assert c.does_not_validate_n_args(3) == True

    set_sysargv(test_command_3)
    c = Command()
    assert c.does_not_validate_n_args(2) == False
    assert c.does_not_validate_n_args(3) == True

    set_sysargv(test_command_empty_1)
    c = Command()
    assert c.does_not_validate_n_args(0) == False
    assert c.does_not_validate_n_args(1) == True