def test_invalid_latent_allow_headers(self):

        self.assertRaises(TypeError,
                          self.application.set_latent,
                          allow_headers='X-Latent')
Assert that passing a non-list is caught in allow headers.
dataset/ETHPy150Open openstack/oslo.middleware/oslo_middleware/tests/test_cors.py/CORSTestLatentProperties.test_invalid_latent_allow_headers