Running unit tests: Failure in test test_debug_flags (zope.app.zptpage.tests.test_zptpage.ZPTPageTests) Traceback (most recent call last): File "/usr/local/lib/python2.4/unittest.py", line 260, in run testMethod() File "/home/ctheune/zope.org/slave/zope.app.zptpage/build/src/zope/app/zptpage/tests/test_zptpage.py", line 140, in test_debug_flags self.assertEquals(page.render(request), 'Foo\n') File "/usr/local/lib/python2.4/unittest.py", line 333, in failUnlessEqual raise self.failureException, \ AssertionError: u'Foo' != 'Foo\n' Failure in test test_template_context_wrapping (zope.app.zptpage.tests.test_zptpage.ZPTPageTests) Traceback (most recent call last): File "/usr/local/lib/python2.4/unittest.py", line 260, in run testMethod() File "/home/ctheune/zope.org/slave/zope.app.zptpage/build/src/zope/app/zptpage/tests/test_zptpage.py", line 119, in test_template_context_wrapping self.assertEquals(page.render(request), 'zpt\n') File "/usr/local/lib/python2.4/unittest.py", line 333, in failUnlessEqual raise self.failureException, \ AssertionError: u'zpt' != 'zpt\n' Ran 15 tests with 2 failures and 0 errors in 0.538 seconds. Running zope.app.zptpage.testing.ZPTPageLayer tests: Set up zope.app.zptpage.testing.ZPTPageLayer in 2.765 seconds. Failure in test testIndex (zope.app.zptpage.browser.tests.ZPTPageTest) Traceback (most recent call last): File "/usr/local/lib/python2.4/unittest.py", line 260, in run testMethod() File "/home/ctheune/zope.org/slave/zope.app.zptpage/build/src/zope/app/zptpage/browser/tests.py", line 158, in testIndex '

http://localhost/zptpage

\n') File "/usr/local/lib/python2.4/unittest.py", line 333, in failUnlessEqual raise self.failureException, \ AssertionError: '

http://localhost/zptpage

' != '

http://localhost/zptpage

\n' Failure in test /home/ctheune/zope.org/slave/zope.app.zptpage/build/src/zope/app/zptpage/browser/collector266.txt Failed doctest test for collector266.txt File "/home/ctheune/zope.org/slave/zope.app.zptpage/build/src/zope/app/zptpage/browser/collector266.txt", line 0 ---------------------------------------------------------------------- File "/home/ctheune/zope.org/slave/zope.app.zptpage/build/src/zope/app/zptpage/browser/collector266.txt", line 99, in collector266.txt Failed example: print http(r""" GET /page HTTP/1.1 Authorization: Basic bWdyOm1ncnB3 """, handle_errors=False) Differences (ndiff with -expected +actual): HTTP/1.1 200 - Content-Length: 52 ? ^ + Content-Length: 51 ? ^ Content-Type: text/html;charset=utf-8
Hi world
- ---------------------------------------------------------------------- File "/home/ctheune/zope.org/slave/zope.app.zptpage/build/src/zope/app/zptpage/browser/collector266.txt", line 159, in collector266.txt Failed example: print http(r""" GET /page2 HTTP/1.1 Authorization: Basic bWdyOm1ncnB3 """, handle_errors=False) Differences (ndiff with -expected +actual): HTTP/1.1 200 - Content-Length: 68 ? ^ + Content-Length: 67 ? ^ Content-Type: text/html;charset=utf-8
Hello world
- ---------------------------------------------------------------------- File "/home/ctheune/zope.org/slave/zope.app.zptpage/build/src/zope/app/zptpage/browser/collector266.txt", line 220, in collector266.txt Failed example: print http(r""" GET /page3 HTTP/1.1 Authorization: Basic bWdyOm1ncnB3 """, handle_errors=False) Differences (ndiff with -expected +actual): HTTP/1.1 200 - Content-Length: 66 ? ^ + Content-Length: 65 ? ^ Content-Type: text/html;charset=utf-8
Hello bob
- Failure in test /home/ctheune/zope.org/slave/zope.app.zptpage/build/src/zope/app/zptpage/browser/collector269.txt Failed doctest test for collector269.txt File "/home/ctheune/zope.org/slave/zope.app.zptpage/build/src/zope/app/zptpage/browser/collector269.txt", line 0 ---------------------------------------------------------------------- File "/home/ctheune/zope.org/slave/zope.app.zptpage/build/src/zope/app/zptpage/browser/collector269.txt", line 121, in collector269.txt Failed example: print http(r""" GET /page HTTP/1.1 Authorization: Basic bWdyOm1ncnB3 """, handle_errors=False) Differences (ndiff with -expected +actual): HTTP/1.1 200 - Content-Length: 119 ? ^ + Content-Length: 118 ? ^ Content-Type: text/html;charset=utf-8
Hello bob

1

string expr

- Ran 20 tests with 3 failures and 0 errors in 3.208 seconds. Tearing down left over layers: Tear down zope.app.zptpage.testing.ZPTPageLayer in 0.003 seconds. Total: 35 tests, 5 failures, 0 errors in 6.881 seconds.