Ejemplo n.º 1
0
 def topic(self):
     storage = NoStorage(None)
     storage.put(IMAGE_URL % 1, IMAGE_BYTES)
     return storage.get(IMAGE_URL % 1)
Ejemplo n.º 2
0
 def topic(self):
     storage = NoStorage(None)
     storage.put(IMAGE_URL % 1, IMAGE_BYTES)
     return storage.get(IMAGE_URL % 1)
Ejemplo n.º 3
0
 def test_store_image_should_be_null(self):
     iurl = self.get_image_url('source.jpg')
     storage = NoStorage(None)
     stored = storage.get(iurl)
     expect(stored.result()).to_be_null()