From dd3cc81f75dcb5ff96e0751653071722a15f46c2 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Sun, 14 Oct 2018 23:16:48 -0500 Subject: fix the tests to import from the tests package instead of pyramid.tests --- tests/test_config/test_routes.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/test_config/test_routes.py') 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) -- cgit v1.2.3