Back to index

plone3  3.1.7
Public Member Functions
ATContentTypes.tests.test_atfile.TestCleanupFilename Class Reference
Inheritance diagram for ATContentTypes.tests.test_atfile.TestCleanupFilename:
Inheritance graph
[legend]
Collaboration diagram for ATContentTypes.tests.test_atfile.TestCleanupFilename:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def test_cleanup_filename

Detailed Description

Definition at line 235 of file test_atfile.py.


Member Function Documentation

Definition at line 237 of file test_atfile.py.

00237 
00238     def test_cleanup_filename(self):
00239         self.app.REQUEST.set('HTTP_ACCEPT_LANGUAGE', 'el')
00240         from Products.ATContentTypes.content.base import cleanupFilename
00241         text = unicode('Νίκος Τζάνος', 'utf-8')
00242         self.assertEquals(cleanupFilename(text, request=self.app.REQUEST),
00243                           'Nikos Tzanos')
00244 
00245 tests.append(TestCleanupFilename)

Here is the call graph for this function:


The documentation for this class was generated from the following file: