From 766c4838fdabb50b6aa9a2594f091ec43750f691 Mon Sep 17 00:00:00 2001 From: Duda Dornelles Date: Thu, 11 Dec 2014 08:33:28 -0200 Subject: optmizing python imports --- service/test/unit/controllers/mails_controller_test.py | 2 +- service/test/unit/controllers/sync_info_controller_test.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'service/test/unit/controllers') diff --git a/service/test/unit/controllers/mails_controller_test.py b/service/test/unit/controllers/mails_controller_test.py index 3e28e6b0..ab87c205 100644 --- a/service/test/unit/controllers/mails_controller_test.py +++ b/service/test/unit/controllers/mails_controller_test.py @@ -14,8 +14,8 @@ # You should have received a copy of the GNU Affero General Public License # along with Pixelated. If not, see . import json - import unittest + from klein.test_resource import requestMock from mock import MagicMock from mockito import * diff --git a/service/test/unit/controllers/sync_info_controller_test.py b/service/test/unit/controllers/sync_info_controller_test.py index ce9a0dff..cd3aeb02 100644 --- a/service/test/unit/controllers/sync_info_controller_test.py +++ b/service/test/unit/controllers/sync_info_controller_test.py @@ -14,10 +14,11 @@ # You should have received a copy of the GNU Affero General Public License # along with Pixelated. If not, see . import unittest +import json + from mock import MagicMock from pixelated.controllers import SyncInfoController from mockito import * -import json class SyncInfoControllerTest(unittest.TestCase): -- cgit v1.2.3