summaryrefslogtreecommitdiff
path: root/tests/regressiontests/forms/tests.py
diff options
context:
space:
mode:
authorGary Wilson Jr <gary.wilson@gmail.com>2007-09-14 02:05:45 +0000
committerGary Wilson Jr <gary.wilson@gmail.com>2007-09-14 02:05:45 +0000
commit8b0eaba0ee66e2ec6307ae9e34cf8610614d67a6 (patch)
treea1d95d33b99a42cba76787b927110a8c88d6f55a /tests/regressiontests/forms/tests.py
parent0b1f4e3c7beb6f205515f11f443aa8ae99e07656 (diff)
Moved `flatatt` function tests to the util test module.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6151 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/forms/tests.py')
-rw-r--r--tests/regressiontests/forms/tests.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/regressiontests/forms/tests.py b/tests/regressiontests/forms/tests.py
index 1f865513c8..3d71bffbfd 100644
--- a/tests/regressiontests/forms/tests.py
+++ b/tests/regressiontests/forms/tests.py
@@ -3795,14 +3795,6 @@ u'1'
>>> smart_unicode('foo')
u'foo'
-# flatatt tests
->>> from django.newforms.util import flatatt
->>> flatatt({'id': "header"})
-u' id="header"'
->>> flatatt({'class': "news", 'title': "Read this"})
-u' class="news" title="Read this"'
->>> flatatt({})
-u''
####################################
# Test accessing errors in clean() #