def test_new(self):
		frappe.set_user("Administrator")
		frappe.local.form_dict.new = 1
		html = build_page("manage-events")
		self.assertTrue('name="subject"' in html)
dataset/ETHPy150Open frappe/frappe/frappe/website/doctype/web_form/test_web_form.py/TestWebForm.test_new/original