mirror of https://github.com/django/django.git
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:
parent
16ad1d951a
commit
0ff6bbf1db
|
@ -0,0 +1 @@
|
||||||
|
This file is named with camelCase.
|
|
@ -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):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue