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_rendering.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_rendering.py')
| -rw-r--r-- | tests/test_config/test_rendering.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_config/test_rendering.py b/tests/test_config/test_rendering.py index cede64d3a..8794fa9df 100644 --- a/tests/test_config/test_rendering.py +++ b/tests/test_config/test_rendering.py @@ -27,8 +27,8 @@ class TestRenderingConfiguratorMixin(unittest.TestCase): def test_add_renderer_dottedname_factory(self): from pyramid.interfaces import IRendererFactory config = self._makeOne(autocommit=True) - import pyramid.tests.test_config - config.add_renderer('name', 'pyramid.tests.test_config') + import tests.test_config + config.add_renderer('name', 'tests.test_config') self.assertEqual(config.registry.getUtility(IRendererFactory, 'name'), - pyramid.tests.test_config) + tests.test_config) |
