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/pkgs/includeapp1/root.py | 2 +- tests/pkgs/includeapp1/three.py | 2 +- tests/pkgs/includeapp1/two.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/pkgs/includeapp1') diff --git a/tests/pkgs/includeapp1/root.py b/tests/pkgs/includeapp1/root.py index f56203cfa..986356d81 100644 --- a/tests/pkgs/includeapp1/root.py +++ b/tests/pkgs/includeapp1/root.py @@ -5,6 +5,6 @@ def aview(request): def configure(config): config.add_view(aview) - config.include('pyramid.tests.pkgs.includeapp1.two.configure') + config.include('tests.pkgs.includeapp1.two.configure') config.commit() diff --git a/tests/pkgs/includeapp1/three.py b/tests/pkgs/includeapp1/three.py index e7131bcf5..973f91d99 100644 --- a/tests/pkgs/includeapp1/three.py +++ b/tests/pkgs/includeapp1/three.py @@ -5,6 +5,6 @@ def aview(request): def configure(config): config.add_view(aview, name='three') - config.include('pyramid.tests.pkgs.includeapp1.two.configure') # should not cycle + config.include('tests.pkgs.includeapp1.two.configure') # should not cycle config.add_view(aview) # will be overridden by root when resolved diff --git a/tests/pkgs/includeapp1/two.py b/tests/pkgs/includeapp1/two.py index 99b0f883a..6b8bb5539 100644 --- a/tests/pkgs/includeapp1/two.py +++ b/tests/pkgs/includeapp1/two.py @@ -5,5 +5,5 @@ def aview(request): def configure(config): config.add_view(aview, name='two') - config.include('pyramid.tests.pkgs.includeapp1.three.configure') + config.include('tests.pkgs.includeapp1.three.configure') config.add_view(aview) # will be overridden by root when resolved -- cgit v1.2.3