'Attempting to upload big files should fail.'

def test_file_too_big_failure(self):

    self.login(self.example_email('hamlet'))
    fp = StringIO('bah!')
    fp.name = 'a.txt'
    with self.settings(MAX_FILE_UPLOAD_SIZE=0):
        result = self.client_post('/json/user_uploads', {'f1': fp})
    self.assert_json_error(result, 'Uploaded    file    is    larger    than    the    allowed    limit    of    0    MB')
