fix(test): removed test print

This commit is contained in:
Nabin Hait 2018-11-26 16:16:42 +05:30
parent 2665c37f38
commit 73ca3cfca6
2 changed files with 0 additions and 2 deletions

View File

@ -189,7 +189,6 @@ class ShareTransfer(Document):
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'))

View File

@ -80,7 +80,6 @@ class TestShareTransfer(unittest.TestCase):
]
for d in share_transfers:
st = frappe.get_doc(d)
print(st.as_dict())
st.submit()
def test_invalid_share_transfer(self):