Beispiel #1
0
 def test_get_tex_path_three_args(self):
     type_name = 'houshin'
     section_name = 'kensui'
     subsection_name = '1_zentai'
     result = 'houshin/kensui/1_zentai.tex'
     self.assertEqual(
         result,
         assignees.get_tex_path(type_name,
                                section_name,
                                file_name=subsection_name))
Beispiel #2
0
 def test_get_tex_path_one_args(self):
     type_name = 'hajimeni'
     result = 'hajimeni.tex'
     self.assertEqual(result, assignees.get_tex_path(file_name=type_name))
Beispiel #3
0
 def test_get_tex_path_two_args(self):
     type_name = 'houshin'
     section_name = '1kai'
     result = 'houshin/1kai.tex'
     self.assertEqual(
         result, assignees.get_tex_path(type_name, file_name=section_name))