diff options
| author | Bert JW Regeer <bertjw@regeer.org> | 2020-07-12 16:52:48 -0700 |
|---|---|---|
| committer | Bert JW Regeer <bertjw@regeer.org> | 2020-07-12 16:52:48 -0700 |
| commit | a920c2530c130688c5d01ed999a43ccf0cb012fa (patch) | |
| tree | 43ab0c4b6db6c05418340e9e18f188e09a02f9ff /tests/test_integration.py | |
| parent | 4481cfeef8b2fd90a485f2f871e9689750b48220 (diff) | |
| download | pyramid-a920c2530c130688c5d01ed999a43ccf0cb012fa.tar.gz pyramid-a920c2530c130688c5d01ed999a43ccf0cb012fa.tar.bz2 pyramid-a920c2530c130688c5d01ed999a43ccf0cb012fa.zip | |
Run isort 5.x across code base
Diffstat (limited to 'tests/test_integration.py')
| -rw-r--r-- | tests/test_integration.py | 10 |
1 files changed, 5 insertions, 5 deletions
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': '', |
