@override_settings(
        SECURE_HSTS_SECONDS=600, SECURE_HSTS_INCLUDE_SUBDOMAINS=True)
    def test_sts_include_subdomains(self):
        response = self.process_response(secure=True)
        self.assertEqual(response["strict-transport-security"], "max-age=600; includeSubDomains")
With HSTS_SECONDS non-zero and HSTS_INCLUDE_SUBDOMAINS
dataset/ETHPy150Open django/django/tests/middleware/test_security.py/SecurityMiddlewareTest.test_sts_include_subdomains