Added staticfiles test case for filenames with medial capitals.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15878 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jannis Leidel 2011-03-18 18:47:08 +00:00
parent 16ad1d951a
commit 0ff6bbf1db
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1 @@
This file is named with camelCase.

View File

@ -165,6 +165,12 @@ class TestDefaults(object):
""" """
self.assertFileContains(u'test/fişier.txt', u'fişier in the app dir') self.assertFileContains(u'test/fişier.txt', u'fişier in the app dir')
def test_camelcase_filenames(self):
"""
Can find a file with capital letters.
"""
self.assertFileContains(u'test/camelCase.txt', u'camelCase')
class TestFindStatic(BuildStaticTestCase, TestDefaults): class TestFindStatic(BuildStaticTestCase, TestDefaults):
""" """