def test_logged_in(self):
		frappe.set_user("Administrator")
		html = build_page("manage-events")
		self.assertFalse("Please login to create a new Event" in html)
		self.assertTrue('"/manage-events?new=1"' in html)
dataset/ETHPy150Open frappe/frappe/frappe/website/doctype/web_form/test_web_form.py/TestWebForm.test_logged_in/original