commit | 73ca3cfca6781359940d3d0f14b9e73c0ca0d5ae | [log] [tgz] |
---|---|---|
author | Nabin Hait <nabinhait@gmail.com> | Mon Nov 26 16:16:42 2018 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Mon Nov 26 16:16:42 2018 +0530 |
tree | d1aed6f95eeefd3947553c2f6bc3a77ec602733a | |
parent | 2665c37f38fe1423f39abd440f0e499ae62d0db8 [diff] |
fix(test): removed test print
diff --git a/erpnext/accounts/doctype/share_transfer/share_transfer.py b/erpnext/accounts/doctype/share_transfer/share_transfer.py index 4fe9a6c..1a1f036 100644 --- a/erpnext/accounts/doctype/share_transfer/share_transfer.py +++ b/erpnext/accounts/doctype/share_transfer/share_transfer.py
@@ -189,7 +189,6 @@ if (shareholder == 'from_shareholder') else self.to_folio_no; doc.save() else: - print(doc.name, doc.folio_no, self.from_folio_no, shareholder, self.to_folio_no) if doc.folio_no and doc.folio_no != (self.from_folio_no if (shareholder == 'from_shareholder') else self.to_folio_no): frappe.throw(_('The folio numbers are not matching'))
diff --git a/erpnext/accounts/doctype/share_transfer/test_share_transfer.py b/erpnext/accounts/doctype/share_transfer/test_share_transfer.py index 3859cc3..f1cf31b 100644 --- a/erpnext/accounts/doctype/share_transfer/test_share_transfer.py +++ b/erpnext/accounts/doctype/share_transfer/test_share_transfer.py
@@ -80,7 +80,6 @@ ] for d in share_transfers: st = frappe.get_doc(d) - print(st.as_dict()) st.submit() def test_invalid_share_transfer(self):