Example #1
0
        def topic(self):
            storage = NoStorage(None)
            storage.put_crypto(IMAGE_URL % 2)

            return storage.get_crypto(IMAGE_URL % 2)
Example #2
0
        def topic(self):
            storage = NoStorage(None)
            storage.put_crypto(IMAGE_URL % 2)

            return storage.get_crypto(IMAGE_URL % 2)
Example #3
0
 def test_stores_crypto_should_be_null(self):
     iurl = self.get_image_url('source.jpg')
     storage = NoStorage(None)
     storage.put_crypto(iurl)
     got_crypto = storage.get_crypto(iurl)
     expect(got_crypto.result()).to_be_null()