fix: delete test submittable doctype
This commit is contained in:
parent
2cf5915eee
commit
209ece8b6c
1 changed files with 3 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ class TestNaming(unittest.TestCase):
|
|||
frappe.db.sql("""delete from `tabSeries` where name = %s""", series)
|
||||
|
||||
def test_naming_for_cancelled_and_amended_doc(self):
|
||||
frappe.get_doc({
|
||||
submittable_doctype = frappe.get_doc({
|
||||
"doctype": "DocType",
|
||||
"module": "Core",
|
||||
"custom": 1,
|
||||
|
|
@ -149,3 +149,5 @@ class TestNaming(unittest.TestCase):
|
|||
amended_doc.submit()
|
||||
amended_doc.cancel()
|
||||
self.assertEqual(amended_doc.name, "{}-2".format(original_name))
|
||||
|
||||
submittable_doctype.delete()
|
||||
Loading…
Add table
Reference in a new issue