Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (15 sloc) 0.55 kb
# -*- coding: utf-8 -*-
from base import *
DIR = "ⓒⓗⓔⓡⓞⓚⓔⓔ"
FILENAME = "file"
MAGIC = "So, Cherokee does support UTF8"
class Test (TestBase):
def __init__ (self):
TestBase.__init__ (self, __file__)
self.name = "UTF8 directory name"
self.request = "GET /%s/%s HTTP/1.0\r\n" %(DIR, FILENAME)
self.expected_error = 200
self.expected_content = MAGIC
def Prepare (self, www):
d = self.Mkdir (www, DIR)
f = self.WriteFile (d, FILENAME, 0644, MAGIC)
Jump to Line
Something went wrong with that request. Please try again.