diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2014-02-05 20:29:05 +0100 |
|---|---|---|
| committer | Adam Tauber <asciimoo@gmail.com> | 2014-02-05 20:29:05 +0100 |
| commit | b8d836e445484b6db4a2fd4c9102e0518889f220 (patch) | |
| tree | c7a2b84de48cd068343f0b7986055c7f7981e31e /searx/tests | |
| parent | b22dd51bd7fc7234a40b664964a6210cbe7bf455 (diff) | |
| parent | 22fd0746d94ec9285561b4da9a59939931a6c088 (diff) | |
Merge pull request #34 from Aigeruth/pep8
Improves PEP8 compatibility.
Diffstat (limited to 'searx/tests')
| -rw-r--r-- | searx/tests/test_robot.py | 5 | ||||
| -rw-r--r-- | searx/tests/test_webapp.py | 6 |
2 files changed, 4 insertions, 7 deletions
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): |