From a920c2530c130688c5d01ed999a43ccf0cb012fa Mon Sep 17 00:00:00 2001 From: Bert JW Regeer Date: Sun, 12 Jul 2020 16:52:48 -0700 Subject: Run isort 5.x across code base --- tests/test_integration.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/test_integration.py') diff --git a/tests/test_integration.py b/tests/test_integration.py index 638ddb2c5..f671b7c0b 100644 --- a/tests/test_integration.py +++ b/tests/test_integration.py @@ -34,8 +34,8 @@ def wsgiapptest(environ, start_response): class WGSIAppPlusViewConfigTests(unittest.TestCase): def test_it(self): - from venusian import ATTACH_ATTR import types + from venusian import ATTACH_ATTR self.assertTrue(getattr(wsgiapptest, ATTACH_ATTR)) self.assertIsInstance(wsgiapptest, types.FunctionType) @@ -45,10 +45,9 @@ class WGSIAppPlusViewConfigTests(unittest.TestCase): self.assertEqual(result, '123') def test_scanned(self): - from pyramid.interfaces import IRequest - from pyramid.interfaces import IView - from pyramid.interfaces import IViewClassifier from pyramid.config import Configurator + from pyramid.interfaces import IRequest, IView, IViewClassifier + from . import test_integration config = Configurator() @@ -281,9 +280,10 @@ class TestStaticAppNoSubpath(unittest.TestCase): staticapp = static_view(os.path.join(here, 'fixtures'), use_subpath=False) def _makeRequest(self, extra): - from pyramid.request import Request from io import BytesIO + from pyramid.request import Request + kw = { 'PATH_INFO': '', 'SCRIPT_NAME': '', -- cgit v1.2.3