##// END OF EJS Templates
remove nose from test_process
Matthias Bussonnier -
Show More
@@ -67,6 +67,7 b' def test_find_cmd_fail():'
67 67 nt.assert_raises(FindCmdError,find_cmd,'asdfasdf')
68 68
69 69
70 # TODO: move to pytest.mark.parametrize once nose gone
70 71 @dec.skip_win32
71 72 def test_arg_split():
72 73 """Ensure that argument lines are correctly split like in a shell."""
@@ -80,8 +81,10 b' def test_arg_split():'
80 81 ['something "with quotes"', ['something', '"with quotes"']],
81 82 ]
82 83 for argstr, argv in tests:
83 nt.assert_equal(arg_split(argstr), argv)
84 assert arg_split(argstr) == argv
84 85
86
87 # TODO: move to pytest.mark.parametrize once nose gone
85 88 @dec.skip_if_not_win32
86 89 def test_arg_split_win32():
87 90 """Ensure that argument lines are correctly split like in a shell."""
@@ -92,7 +95,7 b' def test_arg_split_win32():'
92 95 ['something "with quotes"', ['something', 'with quotes']],
93 96 ]
94 97 for argstr, argv in tests:
95 nt.assert_equal(arg_split(argstr), argv)
98 assert arg_split(argstr) == argv
96 99
97 100
98 101 class SubProcessTestCase(tt.TempFileMixin):
General Comments 0
You need to be logged in to leave comments. Login now