mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-24 00:35:10 +00:00
17 lines
299 B
Python
17 lines
299 B
Python
import frappe
|
|
|
|
|
|
def check_website_theme():
|
|
doc = frappe.new_doc("Website Theme")
|
|
doc.theme = "test theme"
|
|
doc.insert()
|
|
|
|
|
|
def main() -> int:
|
|
frappe.connect(site="tests")
|
|
check_website_theme()
|
|
return 0
|
|
|
|
|
|
if __name__ == "__main__":
|
|
raise SystemExit(main())
|