diff options
author | Duda Dornelles <ddornell@thoughtworks.com> | 2014-12-11 08:33:28 -0200 |
---|---|---|
committer | Duda Dornelles <ddornell@thoughtworks.com> | 2014-12-11 08:33:28 -0200 |
commit | 766c4838fdabb50b6aa9a2594f091ec43750f691 (patch) | |
tree | 901dbe5e02cad55a9971445d24f81465b1305c07 /service/test/unit/controllers | |
parent | 7de1975fd3533ed3b2d5c46cddbaae65eac57175 (diff) |
optmizing python imports
Diffstat (limited to 'service/test/unit/controllers')
-rw-r--r-- | service/test/unit/controllers/mails_controller_test.py | 2 | ||||
-rw-r--r-- | service/test/unit/controllers/sync_info_controller_test.py | 3 |
2 files changed, 3 insertions, 2 deletions
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 <http://www.gnu.org/licenses/>. 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 <http://www.gnu.org/licenses/>. import unittest +import json + from mock import MagicMock from pixelated.controllers import SyncInfoController from mockito import * -import json class SyncInfoControllerTest(unittest.TestCase): |