Skip to content

Instantly share code, notes, and snippets.

View rbu's full-sized avatar

‮zlohhcuB treboR rbu

View GitHub Profile
@wichert
wichert / test_tmpstore.py
Last active September 26, 2015 14:17
redis deform.interfaces.FileUploadTempStore implementation
import unittest
import pyramid.testing
class RedisTempStoreTests(unittest.TestCase):
def setUp(self):
from .tmpstore import DummyRedis
self.config = pyramid.testing.setUp()
self.config.registry.settings['redis'] = self.redis = DummyRedis()