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_scripts/test_pserve.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_scripts/test_pserve.py') diff --git a/tests/test_scripts/test_pserve.py b/tests/test_scripts/test_pserve.py index 485cf38cb..0c46b5348 100644 --- a/tests/test_scripts/test_pserve.py +++ b/tests/test_scripts/test_pserve.py @@ -1,6 +1,6 @@ import os import unittest -from pyramid.tests.test_scripts import dummy +from . import dummy here = os.path.abspath(os.path.dirname(__file__)) @@ -55,7 +55,7 @@ class TestPServeCommand(unittest.TestCase): inst = self._makeOne('development.ini') loader = self.loader('/base/path.ini') loader.settings = {'pserve': { - 'watch_files': 'foo\n/baz\npyramid.tests.test_scripts:*.py', + 'watch_files': 'foo\n/baz\ntests.test_scripts:*.py', }} inst.pserve_file_config(loader, global_conf={'a': '1'}) self.assertEqual(loader.calls[0]['defaults'], { -- cgit v1.2.3