Rev 203: Changed tests to reflect addition of new content-type meta line. in http://bzr.daniel-watkins.co.uk/pqm/125888

Daniel Watkins daniel at daniel-watkins.co.uk
Tue Jul 15 14:12:09 BST 2008


At http://bzr.daniel-watkins.co.uk/pqm/125888

------------------------------------------------------------
revno: 203
revision-id: daniel at daniel-watkins.co.uk-20080715131050-uk23g5pzl6be1x3p
parent: daniel at daniel-watkins.co.uk-20080715125120-zabo9ps4x5sl6ii8
committer: Daniel Watkins <daniel at daniel-watkins.co.uk>
branch nick: 125888
timestamp: Tue 2008-07-15 14:10:50 +0100
message:
  Changed tests to reflect addition of new content-type meta line.
-------------- next part --------------
=== modified file 'pqm/ui/tests/test_twisted.py'
--- a/pqm/ui/tests/test_twisted.py	2008-07-10 12:27:51 +0000
+++ b/pqm/ui/tests/test_twisted.py	2008-07-15 13:10:50 +0000
@@ -74,6 +74,8 @@
         result_resource = getChildForRequest(queue, request)
         html = BeautifulSoup(result_resource.render(request)).prettify()
         expected = ("<html>\n"
+                    ' <meta http-equiv="content-type" content="text/html;'
+                          ' charset=utf-8" />\n'
                     " <head>\n"
                     "  <title>\n"
                     "   Patch Queue Manager\n"
@@ -138,6 +140,8 @@
         result_resource = getChildForRequest(queue, request)
         html = BeautifulSoup(result_resource.render(request)).prettify()
         expected = ("<html>\n"
+                    ' <meta http-equiv="content-type" content="text/html;'
+                          ' charset=utf-8" />\n'
                     " <head>\n"
                     "  <title>\n"
                     "   Patch Queue Manager\n"



More information about the bazaar-commits mailing list