[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/pagetemplate/tests/test_viewzpt.py Removed XXX comment that questioned correct behavior. If someone wants to

Chris Withers chris at simplistix.co.uk
Sat Jul 10 10:56:05 EDT 2004


Stephan Richter wrote:
> Log message for revision 26292:
> 
> Removed XXX comment that questioned correct behavior. If someone wants to
> change that behavior then it should be discussed on the list first.

I do hope this is beign discussed on a mailing list then, since just glancing 
through, I strongly agree with whoever put in that XXX...

Chris

> -=-
> Modified: Zope3/trunk/src/zope/app/pagetemplate/tests/test_viewzpt.py
> ===================================================================
> --- Zope3/trunk/src/zope/app/pagetemplate/tests/test_viewzpt.py	2004-07-09 15:44:40 UTC (rev 26291)
> +++ Zope3/trunk/src/zope/app/pagetemplate/tests/test_viewzpt.py	2004-07-09 15:44:42 UTC (rev 26292)
> @@ -116,8 +116,6 @@
>  
>          t = ViewPageTemplateFile('testxml.pt', content_type="text/plain")
>          t._cook_check()
> -        # XXX: This is arguable.  Should automatic content type detection
> -        #      really override content type specified to the constructor?
>          self.assertEquals(t.content_type, "text/xml")

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk



More information about the Zope3-Checkins mailing list