

@override_settings(MIDDLEWARE_CLASSES=('responsive.middleware.ResponsiveMiddleware',))
def test_context_processor_returns_device_object(self):
    request = self.factory.get('/')
    context = device(context)
    self.assertIsInstance(context[settings.RESPONSIVE_VARIABLE_NAME], Device)

dataset/ETHPy150Open mishbahr/django-responsive2/tests/test_context_processors.py ContextProcessorsTest.test_context_processor_returns_device_object/VarMisuse@36/54 `request`->`context`