Exemple #1
0
 def test_path_jpg(self):
     self.assertEqual(giraffe.path_to_format("foo/bar/baz/hello.jpg"), "jpg")
Exemple #2
0
 def test_filename_gif(self):
     self.assertEqual(giraffe.path_to_format("hello.gif"), "gif")
Exemple #3
0
 def test_filename_jpg(self):
     self.assertEqual(giraffe.path_to_format("hello.jpeg"), "jpg")
Exemple #4
0
 def test_path_jpg(self):
     self.assertEqual(giraffe.path_to_format("foo/bar/baz/hello.jpg"),
                      "jpg")
Exemple #5
0
 def test_filename_gif(self):
     self.assertEqual(giraffe.path_to_format("hello.gif"), "gif")
Exemple #6
0
 def test_filename_jpg(self):
     self.assertEqual(giraffe.path_to_format("hello.jpeg"), "jpg")