Core / Build Stable / v15_test (push) Canceled after 0s
Core / Build Stable / v16_test (push) Canceled after 0s
Docs / Publish Site / Docs / Build (24) (push) Canceled after 0s
Lint / lint (push) Canceled after 0s
Core / Build Stable / v15_publish (push) Canceled after 0s
Core / Build Stable / v16_publish (push) Canceled after 0s
Core / Build Stable / Update example.env and pwd.yml (push) Canceled after 0s
Core / Build Stable / Release Helm (push) Canceled after 0s
Docs / Publish Site / Docs / Deploy (push) Canceled after 0s
18 lines
282 B
Python
18 lines
282 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())
|