MCPcopy Create free account
hub / github.com/Belval/pdf2image / test_conversion_from_path

Method test_conversion_from_path

tests.py:109–113  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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!")

Callers

nothing calls this directly

Calls 1

convert_from_pathFunction · 0.90

Tested by

no test coverage detected