def test_no_request_context(self):
        request = get()
        content = process_request(request, views.no_request_context)
        assert 'switch off' in content
        assert 'sample' in content
Switches and Samples shouldn't require a request context.
dataset/ETHPy150Open jsocol/django-waffle/waffle/tests/test_templates.py/WaffleTemplateTests.test_no_request_context