def test_args_to_str(self):
     self.assertEqual(args_to_str(['foo', 'ba/r', '-baz', '2 be', '']),
                      'foo ba/r -baz \'2 be\' \'\'')
Exemple #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\' \'\''
     )
Exemple #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' ''")