'If settings.DEBUG == True, bad hosts pass.'

def test_bad_host_https_debug(self):

    r = self.r.get('/', {'next': 'https://example.com'})
    with self.settings(DEBUG=True):
        eq_('https://example.com', get_next_url(r))
