[Python-modules-commits] [python-django-contact-form] 07/14: Add templates for tests that are missing from the upstream pypi distribution.

Andrew Starr-Bochicchio asb at moszumanska.debian.org
Sun Oct 11 18:25:21 UTC 2015


This is an automated email from the git hooks/post-receive script.

asb pushed a commit to branch master
in repository python-django-contact-form.

commit ed69bcbb6e66f87deef9539f47b5707e4d8c9e1c
Author: Andrew Starr-Bochicchio <a.starr.b at gmail.com>
Date:   Sun Oct 11 13:18:23 2015 -0400

    Add templates for tests that are missing from the upstream pypi distribution.
---
 contact_form/tests/templates/contact_form/contact_form.html              | 1 +
 contact_form/tests/templates/contact_form/contact_form.txt               | 1 +
 contact_form/tests/templates/contact_form/contact_form_sent.html         | 1 +
 contact_form/tests/templates/contact_form/contact_form_subject.txt       | 1 +
 .../tests/templates/contact_form/test_callable_template_name.html        | 1 +
 5 files changed, 5 insertions(+)

diff --git a/contact_form/tests/templates/contact_form/contact_form.html b/contact_form/tests/templates/contact_form/contact_form.html
new file mode 100644
index 0000000..30580d0
--- /dev/null
+++ b/contact_form/tests/templates/contact_form/contact_form.html
@@ -0,0 +1 @@
+{{ body }}
diff --git a/contact_form/tests/templates/contact_form/contact_form.txt b/contact_form/tests/templates/contact_form/contact_form.txt
new file mode 100644
index 0000000..ba6f437
--- /dev/null
+++ b/contact_form/tests/templates/contact_form/contact_form.txt
@@ -0,0 +1 @@
+{{ body }}
\ No newline at end of file
diff --git a/contact_form/tests/templates/contact_form/contact_form_sent.html b/contact_form/tests/templates/contact_form/contact_form_sent.html
new file mode 100644
index 0000000..d77907c
--- /dev/null
+++ b/contact_form/tests/templates/contact_form/contact_form_sent.html
@@ -0,0 +1 @@
+<p>Message sent!</p>
diff --git a/contact_form/tests/templates/contact_form/contact_form_subject.txt b/contact_form/tests/templates/contact_form/contact_form_subject.txt
new file mode 100644
index 0000000..dbe1d01
--- /dev/null
+++ b/contact_form/tests/templates/contact_form/contact_form_subject.txt
@@ -0,0 +1 @@
+Contact form message
\ No newline at end of file
diff --git a/contact_form/tests/templates/contact_form/test_callable_template_name.html b/contact_form/tests/templates/contact_form/test_callable_template_name.html
new file mode 100644
index 0000000..7856439
--- /dev/null
+++ b/contact_form/tests/templates/contact_form/test_callable_template_name.html
@@ -0,0 +1 @@
+Callable template_name used.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-django-contact-form.git



More information about the Python-modules-commits mailing list