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_viewderivers.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_viewderivers.py')
| -rw-r--r-- | tests/test_viewderivers.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/test_viewderivers.py b/tests/test_viewderivers.py index 4e871ad4a..bec016461 100644 --- a/tests/test_viewderivers.py +++ b/tests/test_viewderivers.py @@ -877,9 +877,8 @@ class TestDeriveView(unittest.TestCase): self.assertEqual(predicates, [True, True]) def test_with_wrapper_viewname(self): + from pyramid.interfaces import IView, IViewClassifier from pyramid.response import Response - from pyramid.interfaces import IView - from pyramid.interfaces import IViewClassifier inner_response = Response('OK') @@ -1192,6 +1191,7 @@ class TestDeriveView(unittest.TestCase): def test_http_cached_view_integer(self): import datetime + from pyramid.response import Response response = Response('OK') @@ -1214,6 +1214,7 @@ class TestDeriveView(unittest.TestCase): def test_http_cached_view_timedelta(self): import datetime + from pyramid.response import Response response = Response('OK') @@ -1238,6 +1239,7 @@ class TestDeriveView(unittest.TestCase): def test_http_cached_view_tuple(self): import datetime + from pyramid.response import Response response = Response('OK') @@ -1984,9 +1986,8 @@ class TestDeriverIntegration(unittest.TestCase): self, config, ctx_iface=None, request_iface=None, name='' ): from zope.interface import Interface - from pyramid.interfaces import IRequest - from pyramid.interfaces import IView - from pyramid.interfaces import IViewClassifier + + from pyramid.interfaces import IRequest, IView, IViewClassifier classifier = IViewClassifier if ctx_iface is None: |
