'Trying to download a file that was never uploaded will return a json_error'

def test_non_existing_file_download(self):

    self.login(self.example_email('hamlet'))
    response = self.client_get('http://localhost:9991/user_uploads/1/ff/gg/abc.py')
    self.assertEqual(response.status_code, 404)
    self.assert_in_response('File    not    found.', response)
