[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/form/browser/tests/test_textwidget.py TestCase for the rendering of bytesarea field demonstrating it works with the default display widget. Change as well to unicode the value for the textarea testcase to see th difference

Julien Anguenot ja at nuxeo.com
Tue Jul 26 10:03:06 EDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dmitry Vasiliev wrote:
> Julien Anguenot wrote:
> 
>> Log message for revision 37406:
>>   TestCase for the rendering of bytesarea field demonstrating it works
>> with the default display widget. Change as well to unicode the value
>> for the textarea testcase to see th difference
>>
>> Changed:
>>   U   Zope3/trunk/src/zope/app/form/browser/tests/test_textwidget.py
>>
>> -=-
>> Modified: Zope3/trunk/src/zope/app/form/browser/tests/test_textwidget.py
>> ===================================================================
> 
> [SKIP]
> 
>>      # Rendering with the default DisplayWidget for this widget
>>      def testRender(self):
>> +        value = u"""
>> +        texttexttexttexttexttextexttexttexttexttextйййййййййййййййй
>> +        texttexttexttexttextteйййййxttexttexttexttexttexttexttextte
>> +        texttexttexttexttexttexttexttexttexttexttexttexttexttexttext
>> +        """
> 
> 
> You need to declare file encoding because the non-ASCII characters.
> 

I put it on top of the file. I didn't find any file with encoding
declared so it might not be the right place within Zope3 source code ?

	J.

- --
Julien Anguenot | Nuxeo R&D (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM   : http://www.z3lab.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFC5kKaGhoG8MxZ/pIRAuH2AJ9LtRgM3yJnlO23mQi94m19gzNaDgCfaTaW
JMY/WtAxzZq8r1K9jnpEfeE=
=/WXG
-----END PGP SIGNATURE-----


More information about the Zope3-Checkins mailing list