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_urldispatch.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_urldispatch.py')
| -rw-r--r-- | tests/test_urldispatch.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test_urldispatch.py b/tests/test_urldispatch.py index 13cf31b32..4d58ce66c 100644 --- a/tests/test_urldispatch.py +++ b/tests/test_urldispatch.py @@ -14,9 +14,10 @@ class TestRoute(unittest.TestCase): return self._getTargetClass()(*arg) def test_provides_IRoute(self): - from pyramid.interfaces import IRoute from zope.interface.verify import verifyObject + from pyramid.interfaces import IRoute + verifyObject(IRoute, self._makeOne('name', 'pattern')) def test_ctor(self): @@ -75,9 +76,10 @@ class RoutesMapperTests(unittest.TestCase): return klass() def test_provides_IRoutesMapper(self): - from pyramid.interfaces import IRoutesMapper from zope.interface.verify import verifyObject + from pyramid.interfaces import IRoutesMapper + verifyObject(IRoutesMapper, self._makeOne()) def test_no_route_matches(self): |
