

def get_request(self):
    '\n        Get a fake request object that has some stuff we need on it\n        '
    factory = RequestFactory()
    req = factory.get('/')
    engine = import_module(settings.SESSION_ENGINE)
    req.session = engine.SessionStore(None)
    engine.user = AnonymousUser()
    return req

dataset/ETHPy150Open jamesmfriedman/django-easytz/easytz/tests.py TimezoneTestCase.get_request/VarMisuse@47/85 `req`->`engine`