Exemplo n.º 1
0
Arquivo: tests.py Projeto: crs4/ACTIVE
 def test_video_metadata(self):
     """
     Check if the command extract all video item features.
     """
     try:
         video_path = "/var/spool/active/data/tests/test_video.flv"
         metadata = get_exif_metadata(video_path)
         print metadata
         self.assertEqual(True, True)
     except Exception as e:
         self.assertTrue(False)
Exemplo n.º 2
0
Arquivo: tests.py Projeto: crs4/ACTIVE
 def test_image_metadata(self):
     """
     Check if the command extract all image item features.
     """
     try:
         image_path = "/var/spool/active/data/tests/test_image.jpg"
         metadata = get_exif_metadata(image_path)
         print metadata
         self.assertEqual(True, True)
     except Exception as e:
         self.assertTrue(False)