Ejemplo n.º 1
0
 def test_get_directory_of_svg_file(self):
     svg_file = SvgFile("tiger.svg",DATA_DIR)
     self.assertEquals(svg_file.getDirectory(),\
                       os.path.join(os.path.abspath('.'),DATA_DIR))     
Ejemplo n.º 2
0
 def test_get_absolute_path_of_svg_file(self):
     svg_file = SvgFile("tiger.svg",DATA_DIR)
     self.assertEquals(svg_file.getAbsolutePath(),\
                os.path.join(svg_file.getDirectory(), svg_file.getName()))