@@ -0,0 +1,1130 @@
+#!/usr/bin/env python%0A# -*- coding: utf-8 -*-%0A%0Afrom django.core.exceptions import ImproperlyConfigured%0Afrom django.test import TestCase%0Afrom django.test.client import RequestFactory%0Afrom django.test.utils import override_settings%0A%0Afrom responsive.conf import settings%0Afrom responsive.context_processors import device%0Afrom responsive.utils import Device%0A%0A%0Aclass ContextProcessorsTest(TestCase):%0A%0A    def setUp(self):%0A        # Every test needs access to the request factory.%0A        self.factory = RequestFactory()%0A%0A    def test_context_processor_raises_improperlyconfigured_error(self):%0A        # with responsive middleware not included in MIDDLEWARE_CLASSES%0A        # this should raise a ImproperlyConfigured error%0A        request = self.factory.get('/')%0A        self.assertRaises(ImproperlyConfigured, device, request)%0A%0A    @override_settings(MIDDLEWARE_CLASSES=('responsive.middleware.ResponsiveMiddleware', ))%0A    def test_context_processor_returns_device_object(self):%0A        request = self.factory.get('/')%0A        context = device(request)%0A        self.assertIsInstance(context%5Bsettings.RESPONSIVE_VARIABLE_NAME%5D, Device)%0A

Add tests for responsive context_processors