'Tests uploading a file with upper case extension. Verifies that the stored file contents are correct.'

def test_file_upload_upper_case_extension(self):

    file_content = 'uppercase'
    self.request.FILES = {'uploaded_file': SimpleUploadedFile('tempfile.CSV', file_content)}
    (file_storage, stored_file_name) = store_uploaded_file(self.request, 'uploaded_file', ['.gif', '.csv'], 'second_stored_file', self.default_max_size)
    self._verify_successful_upload(file_storage, stored_file_name, file_content)
