def test_command_valid_switches_when_missing():
    for command in test_commands_without_switches:
        set_sysargv(command)
        c = Command()
        assert c.validates_includes_switches() == False
def test_command_valid_switches_when_missing():
    for command in test_commands_without_switches:
        set_sysargv(command)
        c = Command()
        assert c.validates_includes_switches() == False
def test_command_valid_switches():
    for command in test_commands_with_switches:
        set_sysargv(command)
        c = Command()
        assert c.validates_includes_switches() == True
def test_command_valid_switches():
    for command in test_commands_with_switches:
        set_sysargv(command)
        c = Command()
        assert c.validates_includes_switches() == True