diff --git a/tests/functional/openlp_plugins/presentations/test_impresscontroller.py b/tests/functional/openlp_plugins/presentations/test_impresscontroller.py index e86bcf6aa..88215bb59 100644 --- a/tests/functional/openlp_plugins/presentations/test_impresscontroller.py +++ b/tests/functional/openlp_plugins/presentations/test_impresscontroller.py @@ -31,7 +31,7 @@ Functional tests to test the Impress class and related methods. """ from unittest import TestCase import os -from mock import MagicMock +from tests.functional import patch, MagicMock from openlp.plugins.presentations.lib.impresscontroller import \ ImpressController, ImpressDocument, TextType diff --git a/tests/functional/openlp_plugins/presentations/test_powerpointcontroller.py b/tests/functional/openlp_plugins/presentations/test_powerpointcontroller.py index 71b076cba..2ecdd65d7 100644 --- a/tests/functional/openlp_plugins/presentations/test_powerpointcontroller.py +++ b/tests/functional/openlp_plugins/presentations/test_powerpointcontroller.py @@ -31,7 +31,7 @@ Functional tests to test the PowerPointController class and related methods. """ from unittest import TestCase import os -from mock import MagicMock +from tests.functional import patch, MagicMock from openlp.plugins.presentations.lib.powerpointcontroller import \ PowerpointController, PowerpointDocument, _get_text_from_shapes