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

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

src/d/j/django-daguerre-2.1.1/daguerre/tests/unit/test_adjustments.py   django-daguerre(Download)
    def test_adjust__broken(self):
        broken_file = self._data_file('broken.png', 'rb')
        storage_path = default_storage.save('daguerre/test/broken.png',
                                            ContentFile(broken_file.read()))
        broken_file = default_storage.open(storage_path, 'rb')

src/d/j/django-daguerre-HEAD/daguerre/tests/unit/test_adjustments.py   django-daguerre(Download)
    def test_adjust__broken(self):
        broken_file = self._data_file('broken.png', 'rb')
        storage_path = default_storage.save('daguerre/test/broken.png',
                                            ContentFile(broken_file.read()))
        broken_file = default_storage.open(storage_path, 'rb')