@override_settings(HSTS_SECONDS=0)
    def test_sts_off(self):
        self.assertNotIn("strict-transport-security", self.process_response(secure=True))
Filters out non-vm_capable nodes from a list.
dataset/ETHPy150Open django/django/tests/middleware/test_security.py/SecurityMiddlewareTest.test_sts_off--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/cmdlib/common.py/_FilterVmNodes