def test_cors_origin_wildcard(self):
        self._app.mod_opts['cors_origin'] = '*'

        headers = self.fetch('/').headers
        self.assertEqual(headers["Access-Control-Allow-Origin"], "*")
Check that endpoints returns Access-Control-Allow-Origin
dataset/ETHPy150Open saltstack/salt/tests/unit/netapi/rest_tornado/test_handlers.py/TestBaseSaltAPIHandler.test_cors_origin_wildcard