def test_args_to_str(self): self.assertEqual(args_to_str(['foo', 'ba/r', '-baz', '2 be', '']), 'foo ba/r -baz \'2 be\' \'\'')
def test_args_to_str(self): self.assertEqual( args_to_str(['foo', 'ba/r', '-baz', '2 be', '']), 'foo ba/r -baz \'2 be\' \'\'' )
def test_args_to_str(self): self.assertEqual(args_to_str(["foo", "ba/r", "-baz", "2 be", ""]), "foo ba/r -baz '2 be' ''")