Exemplo n.º 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\' \'\'')
Exemplo n.º 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\' \'\''
     )
Exemplo n.º 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' ''")