##// END OF EJS Templates
Splitting tests for getoutput_quoted into all and non-win32
Jörgen Stenarson -
Show More
@@ -100,6 +100,10 class SubProcessTestCase(TestCase, tt.TempFileMixin):
100 def test_getoutput_quoted(self):
100 def test_getoutput_quoted(self):
101 out = getoutput('python -c "print (1)"')
101 out = getoutput('python -c "print (1)"')
102 self.assertEquals(out.strip(), '1')
102 self.assertEquals(out.strip(), '1')
103
104 #Invalid quoting on windows
105 @dec.skip_win32
106 def test_getoutput_quoted2(self):
103 out = getoutput("python -c 'print (1)'")
107 out = getoutput("python -c 'print (1)'")
104 self.assertEquals(out.strip(), '1')
108 self.assertEquals(out.strip(), '1')
105 out = getoutput("python -c 'print (\"1\")'")
109 out = getoutput("python -c 'print (\"1\")'")
General Comments 0
You need to be logged in to leave comments. Login now