test: remove invalid assertion (#24101)

This workspace no longer exists so test fails.
This commit is contained in:
Ankush Menat 2024-01-03 15:53:30 +05:30 committed by GitHub
parent b0d73336a5
commit 1a9aba2858
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,10 +16,6 @@ class TestPage(FrappeTestCase):
frappe.NameError,
frappe.get_doc(dict(doctype="Page", page_name="DocType", module="Core")).insert,
)
self.assertRaises(
frappe.NameError,
frappe.get_doc(dict(doctype="Page", page_name="Settings", module="Core")).insert,
)
@unittest.skipUnless(
os.access(frappe.get_app_path("frappe"), os.W_OK), "Only run if frappe app paths is writable"