diff options
| author | Michael Merickel <michael@merickel.org> | 2018-10-14 23:16:48 -0500 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2018-10-14 23:46:11 -0500 |
| commit | dd3cc81f75dcb5ff96e0751653071722a15f46c2 (patch) | |
| tree | 7cfd6140211a21dedd2ddfeb4aa77b7ff4339fa9 /tests/test_config/test_routes.py | |
| parent | eadaee315eb142d1537d617da58343e3d7f1df0a (diff) | |
| download | pyramid-dd3cc81f75dcb5ff96e0751653071722a15f46c2.tar.gz pyramid-dd3cc81f75dcb5ff96e0751653071722a15f46c2.tar.bz2 pyramid-dd3cc81f75dcb5ff96e0751653071722a15f46c2.zip | |
fix the tests to import from the tests package instead of pyramid.tests
Diffstat (limited to 'tests/test_config/test_routes.py')
| -rw-r--r-- | tests/test_config/test_routes.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_config/test_routes.py b/tests/test_config/test_routes.py index 9f4ce9bc6..870abe0ee 100644 --- a/tests/test_config/test_routes.py +++ b/tests/test_config/test_routes.py @@ -1,7 +1,7 @@ import unittest -from pyramid.tests.test_config import dummyfactory -from pyramid.tests.test_config import DummyContext +from . import dummyfactory +from . import DummyContext from pyramid.compat import text_ class RoutesConfiguratorMixinTests(unittest.TestCase): @@ -74,7 +74,7 @@ class RoutesConfiguratorMixinTests(unittest.TestCase): config = self._makeOne(autocommit=True) config.add_route( 'name', 'path', - factory='pyramid.tests.test_config.dummyfactory') + factory='tests.test_config.dummyfactory') route = self._assertRoute(config, 'name', 'path') self.assertEqual(route.factory, dummyfactory) |
