(self)
| 107 | @profile |
| 108 | @unittest.skipIf(not POPPLER_INSTALLED, "Poppler is not installed!") |
| 109 | def test_conversion_from_path(self): |
| 110 | start_time = time.time() |
| 111 | images_from_path = convert_from_path("./tests/test.pdf") |
| 112 | self.assertTrue(len(images_from_path) == 1) |
| 113 | print("test_conversion_from_path: {} sec".format(time.time() - start_time)) |
| 114 | |
| 115 | @profile |
| 116 | @unittest.skipIf(not POPPLER_INSTALLED, "Poppler is not installed!") |
nothing calls this directly
no test coverage detected