test case fixed
This commit is contained in:
parent
9a5cf6000e
commit
29d85b0ab8
@ -56,6 +56,8 @@ def setup_complete(args=None):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
def update_setup_wizard_access():
|
def update_setup_wizard_access():
|
||||||
|
if frappe.flags.in_test:
|
||||||
|
return
|
||||||
setup_wizard = frappe.get_doc('Page', 'setup-wizard')
|
setup_wizard = frappe.get_doc('Page', 'setup-wizard')
|
||||||
for roles in setup_wizard.roles:
|
for roles in setup_wizard.roles:
|
||||||
if roles.role == 'System Manager':
|
if roles.role == 'System Manager':
|
||||||
|
@ -132,9 +132,6 @@ class TestShoppingCart(unittest.TestCase):
|
|||||||
"company": "_Test Company"
|
"company": "_Test Company"
|
||||||
}
|
}
|
||||||
|
|
||||||
for d in values["taxes"]:
|
|
||||||
d.name = None
|
|
||||||
|
|
||||||
quotation.update(values)
|
quotation.update(values)
|
||||||
|
|
||||||
quotation.insert(ignore_permissions=True)
|
quotation.insert(ignore_permissions=True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user