示例#1
0
 def test_args_to_str(self):
     self.assertEqual(args_to_str(['foo', 'ba/r', '-baz', '2 be', '']),
                      'foo ba/r -baz \'2 be\' \'\'')
示例#2
0
 def test_args_to_str(self):
     self.assertEqual(
         args_to_str(['foo', 'ba/r', '-baz', '2 be', '']),
         'foo ba/r -baz \'2 be\' \'\''
     )
示例#3
0
 def test_args_to_str(self):
     self.assertEqual(args_to_str(["foo", "ba/r", "-baz", "2 be", ""]), "foo ba/r -baz '2 be' ''")