Commit 66b4c4eb authored by Roque's avatar Roque

erp5_gadget_interface_validator_ui_test: update test to new precache manifest response

parent 8b8e6f6a
......@@ -22,7 +22,11 @@ url_list = [
if REQUEST is not None:
import json
manifest_dict = {
'url_dict': dict.fromkeys(url_list),
'modification_date': context.getModificationDate().rfc822()
}
REQUEST.RESPONSE.setHeader('Content-Type', 'application/json')
return json.dumps(dict.fromkeys(url_list), indent=2)
return json.dumps(manifest_dict, indent=2)
return url_list
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment