diff --git a/tests/regressiontests/staticfiles_tests/project/documents/test/camelCase.txt b/tests/regressiontests/staticfiles_tests/project/documents/test/camelCase.txt new file mode 100644 index 0000000000..b4f8882668 --- /dev/null +++ b/tests/regressiontests/staticfiles_tests/project/documents/test/camelCase.txt @@ -0,0 +1 @@ +This file is named with camelCase. \ No newline at end of file diff --git a/tests/regressiontests/staticfiles_tests/tests.py b/tests/regressiontests/staticfiles_tests/tests.py index 4cadd69b6b..ae514be101 100644 --- a/tests/regressiontests/staticfiles_tests/tests.py +++ b/tests/regressiontests/staticfiles_tests/tests.py @@ -165,6 +165,12 @@ class TestDefaults(object): """ 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): """