diff options
author | Simon Law <simon.law@ecometrica.com> | 2012-07-24 15:14:12 -0400 |
---|---|---|
committer | Simon Law <simon.law@ecometrica.com> | 2012-07-24 15:14:12 -0400 |
commit | bde096a028c2705b8f56fb5fdcbbaed4b318862d (patch) | |
tree | 8b9245948d43bac6c1755b0739d13b579f7419e3 /wkhtmltopdf/tests.py | |
parent | 8e53c5bc5db462f6e39404c73ac96ec0cbb6a6c7 (diff) | |
download | django-wkhtmltopdf-bde096a028c2705b8f56fb5fdcbbaed4b318862d.tar.gz django-wkhtmltopdf-bde096a028c2705b8f56fb5fdcbbaed4b318862d.tar.bz2 django-wkhtmltopdf-bde096a028c2705b8f56fb5fdcbbaed4b318862d.zip |
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
Diffstat (limited to 'wkhtmltopdf/tests.py')
-rw-r--r-- | wkhtmltopdf/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |