Ensure that argument lines are correctly split like in a shell.
()
| 84 | |
| 85 | @dec.skip_if_not_win32 |
| 86 | def test_arg_split_win32(): |
| 87 | """Ensure that argument lines are correctly split like in a shell.""" |
| 88 | tests = [['hi', ['hi']], |
| 89 | [u'hi', [u'hi']], |
| 90 | ['hello there', ['hello', 'there']], |
| 91 | [u'h\u01cello', [u'h\u01cello']], |
| 92 | ['something "with quotes"', ['something', 'with quotes']], |
| 93 | ] |
| 94 | for argstr, argv in tests: |
| 95 | nt.assert_equal(arg_split(argstr), argv) |
| 96 | |
| 97 | |
| 98 | class SubProcessTestCase(tt.TempFileMixin): |
nothing calls this directly
no test coverage detected