def test_posix_command_from_command_line(self):
        executable = 'command'
        args = ['-arg', 'value', '--extra=something']
        commandLine = (executable, ' '.join(args)) % "%s %s"
        posixCommand = PosixCommand(commandLine)
        self.assertEqual(posixCommand.executable, executable)
        self.assertEqual(posixCommand.args, [executable]+args)
dataset/ETHPy150Open sporsh/carnifex/test/unit/test_command.py/PosixCommandTest.test_posix_command_from_command_line/swapped operands of `%`