forked from openlp/openlp
Fix import of MagicMock
This commit is contained in:
parent
6e46fd6a2a
commit
734adbbd5a
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user