def test_for_security_headers(self):
        response = self.client.get('/en-US/firefox/')
        assert response.status_code == 200
        assert response['x-xss-protection'] == '1; mode=block'
        assert response['x-content-type-options'] == 'nosniff'
        assert response['x-frame-options'] == 'DENY'
Test that security headers are set.
dataset/ETHPy150Open mozilla/addons-server/src/olympia/amo/tests/test_secure_headers.py/TestSecurityHeaders.test_for_security_headers