From 89f40e36246100df6a11316c31a76712ebc6c501 Mon Sep 17 00:00:00 2001 From: Florian Apolloner Date: Tue, 26 Feb 2013 09:53:47 +0100 Subject: Merged regressiontests and modeltests into the test root. --- .../custom_templates/app_template/__init__.py | 0 tests/admin_scripts/custom_templates/app_template/api.py | 1 + .../admin_scripts/custom_templates/app_template/models.py | 1 + tests/admin_scripts/custom_templates/project_template.tgz | Bin 0 -> 164 bytes .../project_template/additional_dir/Procfile | 1 + .../project_template/additional_dir/additional_file.py | 1 + .../project_template/additional_dir/extra.py | 1 + .../project_template/additional_dir/requirements.txt | 1 + .../custom_templates/project_template/manage.py | 6 ++++++ .../project_template/project_name/__init__.py | 0 .../project_template/project_name/settings.py | 1 + .../project_template/ticket-18091-non-ascii-template.txt | 2 ++ .../project_template/ticket-19397-binary-file.ico | Bin 0 -> 894 bytes 13 files changed, 15 insertions(+) create mode 100644 tests/admin_scripts/custom_templates/app_template/__init__.py create mode 100644 tests/admin_scripts/custom_templates/app_template/api.py create mode 100644 tests/admin_scripts/custom_templates/app_template/models.py create mode 100644 tests/admin_scripts/custom_templates/project_template.tgz create mode 100644 tests/admin_scripts/custom_templates/project_template/additional_dir/Procfile create mode 100644 tests/admin_scripts/custom_templates/project_template/additional_dir/additional_file.py create mode 100644 tests/admin_scripts/custom_templates/project_template/additional_dir/extra.py create mode 100644 tests/admin_scripts/custom_templates/project_template/additional_dir/requirements.txt create mode 100755 tests/admin_scripts/custom_templates/project_template/manage.py create mode 100644 tests/admin_scripts/custom_templates/project_template/project_name/__init__.py create mode 100644 tests/admin_scripts/custom_templates/project_template/project_name/settings.py create mode 100644 tests/admin_scripts/custom_templates/project_template/ticket-18091-non-ascii-template.txt create mode 100644 tests/admin_scripts/custom_templates/project_template/ticket-19397-binary-file.ico (limited to 'tests/admin_scripts/custom_templates') diff --git a/tests/admin_scripts/custom_templates/app_template/__init__.py b/tests/admin_scripts/custom_templates/app_template/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tests/admin_scripts/custom_templates/app_template/api.py b/tests/admin_scripts/custom_templates/app_template/api.py new file mode 100644 index 0000000000..439d935f73 --- /dev/null +++ b/tests/admin_scripts/custom_templates/app_template/api.py @@ -0,0 +1 @@ +# your API code \ No newline at end of file diff --git a/tests/admin_scripts/custom_templates/app_template/models.py b/tests/admin_scripts/custom_templates/app_template/models.py new file mode 100644 index 0000000000..92be216cfc --- /dev/null +++ b/tests/admin_scripts/custom_templates/app_template/models.py @@ -0,0 +1 @@ +# whatever \ No newline at end of file diff --git a/tests/admin_scripts/custom_templates/project_template.tgz b/tests/admin_scripts/custom_templates/project_template.tgz new file mode 100644 index 0000000000..2a181c9faa Binary files /dev/null and b/tests/admin_scripts/custom_templates/project_template.tgz differ diff --git a/tests/admin_scripts/custom_templates/project_template/additional_dir/Procfile b/tests/admin_scripts/custom_templates/project_template/additional_dir/Procfile new file mode 100644 index 0000000000..032f0bcd72 --- /dev/null +++ b/tests/admin_scripts/custom_templates/project_template/additional_dir/Procfile @@ -0,0 +1 @@ +# some file for {{ project_name }} test project \ No newline at end of file diff --git a/tests/admin_scripts/custom_templates/project_template/additional_dir/additional_file.py b/tests/admin_scripts/custom_templates/project_template/additional_dir/additional_file.py new file mode 100644 index 0000000000..032f0bcd72 --- /dev/null +++ b/tests/admin_scripts/custom_templates/project_template/additional_dir/additional_file.py @@ -0,0 +1 @@ +# some file for {{ project_name }} test project \ No newline at end of file diff --git a/tests/admin_scripts/custom_templates/project_template/additional_dir/extra.py b/tests/admin_scripts/custom_templates/project_template/additional_dir/extra.py new file mode 100644 index 0000000000..6b553f190f --- /dev/null +++ b/tests/admin_scripts/custom_templates/project_template/additional_dir/extra.py @@ -0,0 +1 @@ +# this file uses the {{ extra }} variable diff --git a/tests/admin_scripts/custom_templates/project_template/additional_dir/requirements.txt b/tests/admin_scripts/custom_templates/project_template/additional_dir/requirements.txt new file mode 100644 index 0000000000..032f0bcd72 --- /dev/null +++ b/tests/admin_scripts/custom_templates/project_template/additional_dir/requirements.txt @@ -0,0 +1 @@ +# some file for {{ project_name }} test project \ No newline at end of file diff --git a/tests/admin_scripts/custom_templates/project_template/manage.py b/tests/admin_scripts/custom_templates/project_template/manage.py new file mode 100755 index 0000000000..d9843c433f --- /dev/null +++ b/tests/admin_scripts/custom_templates/project_template/manage.py @@ -0,0 +1,6 @@ +# The manage.py of the {{ project_name }} test project + +# template context: +project_name = '{{ project_name }}' +project_directory = '{{ project_directory }}' +secret_key = '{{ secret_key }}' diff --git a/tests/admin_scripts/custom_templates/project_template/project_name/__init__.py b/tests/admin_scripts/custom_templates/project_template/project_name/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tests/admin_scripts/custom_templates/project_template/project_name/settings.py b/tests/admin_scripts/custom_templates/project_template/project_name/settings.py new file mode 100644 index 0000000000..ddc216c829 --- /dev/null +++ b/tests/admin_scripts/custom_templates/project_template/project_name/settings.py @@ -0,0 +1 @@ +# Django settings for {{ project_name }} test project. diff --git a/tests/admin_scripts/custom_templates/project_template/ticket-18091-non-ascii-template.txt b/tests/admin_scripts/custom_templates/project_template/ticket-18091-non-ascii-template.txt new file mode 100644 index 0000000000..873eaded88 --- /dev/null +++ b/tests/admin_scripts/custom_templates/project_template/ticket-18091-non-ascii-template.txt @@ -0,0 +1,2 @@ +Some non-ASCII text for testing ticket #18091: +üäö € diff --git a/tests/admin_scripts/custom_templates/project_template/ticket-19397-binary-file.ico b/tests/admin_scripts/custom_templates/project_template/ticket-19397-binary-file.ico new file mode 100644 index 0000000000..1db49645b5 Binary files /dev/null and b/tests/admin_scripts/custom_templates/project_template/ticket-19397-binary-file.ico differ -- cgit v1.3