[Python-modules-commits] [django-markupfield] 01/09: Add expected "required" attribute for Django 1.10 tests.
Michael Fladischer
fladi at moszumanska.debian.org
Thu Sep 1 18:49:13 UTC 2016
This is an automated email from the git hooks/post-receive script.
fladi pushed a commit to branch master
in repository django-markupfield.
commit 53de3a7a8478e5f515eca6de9b62e4c6411b089e
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date: Thu Sep 1 13:40:35 2016 +0200
Add expected "required" attribute for Django 1.10 tests.
Django 1.10 adds the "required" attribute if the field is also required.
---
markupfield/tests/tests.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/markupfield/tests/tests.py b/markupfield/tests/tests.py
index ac66783..20c8c38 100644
--- a/markupfield/tests/tests.py
+++ b/markupfield/tests/tests.py
@@ -243,7 +243,7 @@ class MarkupWidgetTests(TestCase):
af = ArticleForm(instance=a)
self.assertHTMLEqual(
smart_text(af['normal_field']),
- '<textarea id="id_normal_field" rows="10" cols="40" '
+ '<textarea id="id_normal_field" required rows="10" cols="40" '
'name="normal_field">**normal**</textarea>'
)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/django-markupfield.git
More information about the Python-modules-commits
mailing list