Author: gwilson
Date: 2007-09-13 21:05:45 -0500 (Thu, 13 Sep 2007)
New Revision: 6151

Modified:
   django/trunk/tests/regressiontests/forms/tests.py
   django/trunk/tests/regressiontests/forms/util.py
Log:
Moved `flatatt` function tests to the util test module.


Modified: django/trunk/tests/regressiontests/forms/tests.py
===================================================================
--- django/trunk/tests/regressiontests/forms/tests.py   2007-09-14 02:01:11 UTC 
(rev 6150)
+++ django/trunk/tests/regressiontests/forms/tests.py   2007-09-14 02:05:45 UTC 
(rev 6151)
@@ -3795,14 +3795,6 @@
 >>> 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() #

Modified: django/trunk/tests/regressiontests/forms/util.py
===================================================================
--- django/trunk/tests/regressiontests/forms/util.py    2007-09-14 02:01:11 UTC 
(rev 6150)
+++ django/trunk/tests/regressiontests/forms/util.py    2007-09-14 02:05:45 UTC 
(rev 6151)
@@ -7,6 +7,18 @@
 >>> from django.newforms.util import *
 >>> from django.utils.translation import ugettext_lazy
 
+###########
+# flatatt #
+###########
+
+>>> 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''
+
 ###################
 # ValidationError #
 ###################


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to