def test_single_file_no_input_extension_no_output(self): self.assertEqual(['/a/b'], render.map_input_to_output(['/a/b'], None))
def test_single_file_recursive_no_output(self): self.assertEqual(['/a/b.txt'], render.map_input_to_output(['/a/b.txt'], None, True))
def test_multi_file_recursive_output_extension(self): self.assertEqual(['/c/d.biz/b.txt', '/c/d.biz/j.doc'], render.map_input_to_output(['/a/b.txt', '/g/f/j.doc'], '/c/d.biz', True))
def test_single_file_recursive_output_extension(self): self.assertEqual(['/c/d.biz/b.txt'], render.map_input_to_output(['/a/b.txt'], '/c/d.biz', True))
def test_single_file_recursive_trailing_slash(self): self.assertEqual(['/c/d/b.txt'], render.map_input_to_output(['/a/b.txt'], '/c/d/', True))
def test_single_file_no_input_extension(self): self.assertEqual(['/c/d.biz'], render.map_input_to_output(['/a/b'], '/c/d.biz'))
def test_single_file(self): self.assertEqual(['/c/d.biz'], render.map_input_to_output(['/a/b.txt'], '/c/d.biz'))