(self)
| 935 | @profile |
| 936 | @unittest.skipIf(not POPPLER_INSTALLED, "Poppler is not installed!") |
| 937 | def test_conversion_from_path_using_transparent(self): |
| 938 | start_time = time.time() |
| 939 | images_from_path = convert_from_path( |
| 940 | "./tests/test.pdf", transparent=True, fmt="png" |
| 941 | ) |
| 942 | self.assertTrue(len(images_from_path) == 1) |
| 943 | print( |
| 944 | "test_conversion_from_path_using_transparent: {} sec".format( |
| 945 | time.time() - start_time |
| 946 | ) |
| 947 | ) |
| 948 | |
| 949 | @profile |
| 950 | @unittest.skipIf(not POPPLER_INSTALLED, "Poppler is not installed!") |
nothing calls this directly
no test coverage detected