'Tests disabling append slash functionality.'

@override_settings(APPEND_SLASH=False)
def test_append_slash_disabled_custom_urlconf(self):

    request = self._get_request(u'customurlconf/slash')
    request.urlconf = u'middleware.extra_urls'
    self.assertEqual(CommonMiddleware().process_request(request), None)
