From bde096a028c2705b8f56fb5fdcbbaed4b318862d Mon Sep 17 00:00:00 2001 From: Simon Law Date: Tue, 24 Jul 2012 15:14:12 -0400 Subject: Move testproject to wkhtmltopdf._testproject. Avoid polluting the global library namespace with testproject. Instead, since wkhtmltopdf tests use it, we install it within under a "private" name. --HG-- rename : testproject/__init__.py => wkhtmltopdf/_testproject/__init__.py rename : testproject/manage.py => wkhtmltopdf/_testproject/manage.py rename : testproject/requirements.txt => wkhtmltopdf/_testproject/requirements.txt rename : testproject/settings.py => wkhtmltopdf/_testproject/settings.py rename : testproject/templates/footer.html => wkhtmltopdf/_testproject/templates/footer.html rename : testproject/templates/sample.html => wkhtmltopdf/_testproject/templates/sample.html rename : testproject/urls.py => wkhtmltopdf/_testproject/urls.py --- wkhtmltopdf/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wkhtmltopdf/tests.py') diff --git a/wkhtmltopdf/tests.py b/wkhtmltopdf/tests.py index 0497dd3..19fde76 100644 --- a/wkhtmltopdf/tests.py +++ b/wkhtmltopdf/tests.py @@ -120,7 +120,7 @@ class TestViews(TestCase): STATIC_URL='/static/', TEMPLATE_LOADERS=['django.template.loaders.filesystem.Loader'], TEMPLATE_DIRS=[os.path.join(os.path.dirname(__file__), - 'testproject', 'templates')], + '_testproject', 'templates')], WKHTMLTOPDF_DEBUG=False, ): # Setup sample.html @@ -186,7 +186,7 @@ class TestViews(TestCase): STATIC_URL='/static/', TEMPLATE_LOADERS=['django.template.loaders.filesystem.Loader'], TEMPLATE_DIRS=[os.path.join(os.path.dirname(__file__), - 'testproject', 'templates')], + '_testproject', 'templates')], WKHTMLTOPDF_DEBUG=False, ): # Setup sample.html -- cgit v1.2.3