Ejemplo n.º 1
0
 def setUp(self):
     print self
     self.elyxer_args = 'python ../seed.py ../../folder_test/test_file.xhtml --run-here'
     self.elyxer_no_title_args = 'python ../seed.py ../../folder_test/no_title_test_file.xhtml --run-here'
     self.lyxhtml_args = 'python ../seed.py test_files/lyxhtml_w_images/LyXHtml_test_with_image.xhtml --run-here'
     delete_config_file()
     elyxer_args = 'elyxer.py ../../folder_test/original_test_file.lyx ../../folder_test/test_file.xhtml'
     elyxer_args_2 = 'elyxer.py ../../folder_test/original_no_title.lyx ../../folder_test/no_title_test_file.xhtml'
     output = os.system(elyxer_args)
     output_2 = os.system(elyxer_args_2)
     assert (output == 0)
     assert (output_2 == 0)
Ejemplo n.º 2
0
 def setUp(self):
     print self
     self.elyxer_args = 'python ../seed.py ../../folder_test/test_file.xhtml --run-here'
     self.elyxer_no_title_args = 'python ../seed.py ../../folder_test/no_title_test_file.xhtml --run-here'
     self.lyxhtml_args = 'python ../seed.py test_files/lyxhtml_w_images/LyXHtml_test_with_image.xhtml --run-here'
     delete_config_file()
     elyxer_args = 'elyxer.py ../../folder_test/original_test_file.lyx ../../folder_test/test_file.xhtml'
     elyxer_args_2 = 'elyxer.py ../../folder_test/original_no_title.lyx ../../folder_test/no_title_test_file.xhtml'
     output = os.system(elyxer_args)
     output_2 = os.system(elyxer_args_2)
     assert(output == 0)
     assert(output_2 == 0)
Ejemplo n.º 3
0
 def test_01_delete_config_file(self):
     delete_config_file()