feat: added test. Virtual doctype should not create table
This commit is contained in:
parent
348cdaa73a
commit
26d65a39f1
1 changed files with 1 additions and 1 deletions
|
|
@ -486,7 +486,7 @@ class TestDocType(unittest.TestCase):
|
|||
doc = frappe.get_doc("DocType", "Test Virtual Doctype")
|
||||
|
||||
self.assertEqual(doc.is_virtual, 1)
|
||||
|
||||
self.assertFalse(frappe.db.table_exists('Test Virtual Doctype'))
|
||||
|
||||
def new_doctype(name, unique=0, depends_on='', fields=None):
|
||||
doc = frappe.get_doc({
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue