Author: batiste.bieler
Date: Tue May  5 07:58:51 2009
New Revision: 506

Modified:
    branches/electron/pages/tests.py

Log:
Fix a a test

Modified: branches/electron/pages/tests.py
==============================================================================
--- branches/electron/pages/tests.py    (original)
+++ branches/electron/pages/tests.py    Tue May  5 07:58:51 2009
@@ -570,7 +570,7 @@
          # Make sure we're in french
          response = c.get('/admin/pages/page/')
          self.assertEqual(response.status_code, 200)
-        self.assertTrue(u'Auteur' in response.content)
+        self.assertTrue('Auteur' in response.content)

          # Create some pages (taken from test_18_tree_admin_interface)
          page_data = self.get_new_page_data()
@@ -615,7 +615,7 @@
              {'position':'first-child', 'target':root_page.id})

          # Make sure the content response we got was in french
-        self.assertTrue(u'Auteur' in response.content)
+        self.assertTrue('Auteur' in response.content)


      def assertOnlyContextException(self, view):

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to