diff --git a/commera/tests/test_seo.py b/commera/tests/test_seo.py index a12bd72f..81e439ae 100644 --- a/commera/tests/test_seo.py +++ b/commera/tests/test_seo.py @@ -249,7 +249,7 @@ def tearDown(self): frappe.local.request = self.saved_request def run_context(self, path): - frappe.local.request = frappe._dict(path=path) + frappe.local.request = frappe._dict(path=path, headers={}) context = frappe._dict() website_context.update_website_context(context) return context