diff --git a/setup.py b/setup.py index 0b23f7b3f..90cef4885 100644 --- a/setup.py +++ b/setup.py @@ -201,6 +201,7 @@ using a computer and a data projector.""", tests_require=[ 'nose2', 'pylint', + 'PyMuPDF', 'pyodbc', 'pysword', 'python-xlib; platform_system=="Linux"' diff --git a/tests/functional/openlp_plugins/presentations/test_pdfcontroller.py b/tests/functional/openlp_plugins/presentations/test_pdfcontroller.py index 794b68690..f5ff98b0f 100644 --- a/tests/functional/openlp_plugins/presentations/test_pdfcontroller.py +++ b/tests/functional/openlp_plugins/presentations/test_pdfcontroller.py @@ -122,8 +122,6 @@ class TestPdfController(TestCase, TestMixin): # WHEN: The Pdf is loaded controller = PdfController(plugin=self.mock_plugin) - if not controller.check_available(): - raise SkipTest('Could not detect mudraw or ghostscript, so skipping PDF test') controller.temp_folder = self.temp_folder_path controller.thumbnail_folder = self.thumbnail_folder_path document = PdfDocument(controller, test_file_path) @@ -142,8 +140,6 @@ class TestPdfController(TestCase, TestMixin): # WHEN: The Pdf is loaded controller = PdfController(plugin=self.mock_plugin) - if not controller.check_available(): - raise SkipTest('Could not detect mudraw or ghostscript, so skipping PDF test') controller.temp_folder = self.temp_folder_path controller.thumbnail_folder = self.thumbnail_folder_path document = PdfDocument(controller, test_file_path)