Author: batiste.bieler
Date: Thu Jun 4 05:46:14 2009
New Revision: 543
Modified:
trunk/pages/tests.py
Log:
Fix the tests
Modified: trunk/pages/tests.py
==============================================================================
--- trunk/pages/tests.py (original)
+++ trunk/pages/tests.py Thu Jun 4 05:46:14 2009
@@ -346,10 +346,10 @@
context = RequestContext(request, {'page': page})
template = Template('{% load pages_tags %}'
'{% show_content page "title" "en-us" %}')
- self.assertEqual(template.render(context), page_data['title']
+ '\n')
+ self.assertEqual(template.render(context), page_data['title'])
template = Template('{% load pages_tags %}'
'{% show_content page "title" %}')
- self.assertEqual(template.render(context), page_data['title']
+ '\n')
+ self.assertEqual(template.render(context), page_data['title'])
def test_12_get_content_tag(self):
"""
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pinax-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/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---