Fix import of MagicMock

This commit is contained in:
Tomas Groth 2014-03-19 19:33:03 +01:00
parent 6e46fd6a2a
commit 734adbbd5a
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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