@override_settings(SECURE_SSL_REDIRECT=True)
    def test_no_redirect_ssl(self):
        ret = self.process_request("get", "/some/url", secure=True)
        self.assertEqual(ret, None)
add remote logical port hook callback
dataset/ETHPy150Open django/django/tests/middleware/test_security.py/SecurityMiddlewareTest.test_no_redirect_ssl--crossover with--dataset/ETHPy150Open openstack/dragonflow/dragonflow/controller/df_db_notifier.py/DBNotifyInterface.add_remote_port