From 22fd0746d94ec9285561b4da9a59939931a6c088 Mon Sep 17 00:00:00 2001 From: Gabor Nagy Date: Wed, 5 Feb 2014 20:24:31 +0100 Subject: Improves PEP8 compatibility. --- searx/tests/test_robot.py | 5 ++--- searx/tests/test_webapp.py | 6 ++---- 2 files changed, 4 insertions(+), 7 deletions(-) (limited to 'searx/tests') diff --git a/searx/tests/test_robot.py b/searx/tests/test_robot.py index 1480ae8ef..b48153fe4 100644 --- a/searx/tests/test_robot.py +++ b/searx/tests/test_robot.py @@ -1,12 +1,11 @@ # -*- coding: utf-8 -*- +import os +import unittest2 as unittest from plone.testing import layered from robotsuite import RobotTestSuite from searx.testing import SEARXROBOTLAYER -import os -import unittest2 as unittest - def test_suite(): suite = unittest.TestSuite() diff --git a/searx/tests/test_webapp.py b/searx/tests/test_webapp.py index 82d4a9088..4e2c820d9 100644 --- a/searx/tests/test_webapp.py +++ b/searx/tests/test_webapp.py @@ -1,12 +1,10 @@ # -*- coding: utf-8 -*- +import json +from urlparse import ParseResult from mock import patch from searx import webapp from searx.testing import SearxTestCase -from urlparse import ParseResult - - -import json class ViewsTestCase(SearxTestCase): -- cgit v1.2.3