test: set name to create client script
This commit is contained in:
parent
5fb2bfab4b
commit
d94d30dacc
1 changed files with 2 additions and 2 deletions
|
|
@ -354,8 +354,8 @@ class TestPythonExpressions(unittest.TestCase):
|
|||
class TestDiffUtils(unittest.TestCase):
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
cls.doc = frappe.get_doc(doctype="Client Script", dt="Client Script")
|
||||
cls.doc.save(ignore_version=False)
|
||||
cls.doc = frappe.get_doc(doctype="Client Script", dt="Client Script", name="test_client_script")
|
||||
cls.doc.insert()
|
||||
cls.doc.script = "2;"
|
||||
cls.doc.save(ignore_version=False)
|
||||
cls.doc.script = "42;"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue