Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/b/a/backdrop-HEAD/tests/admin/test_uploaded_file.py   backdrop(Download)
    def test_loading_invalid_file_should_throw_an_exception(self):
        upload = self._uploaded_file_wrapper(contents='')
        self.assertRaises(FileUploadError, upload.file_stream)