fix(test): removed test print
This commit is contained in:
parent
2665c37f38
commit
73ca3cfca6
@ -189,7 +189,6 @@ class ShareTransfer(Document):
|
|||||||
if (shareholder == 'from_shareholder') else self.to_folio_no;
|
if (shareholder == 'from_shareholder') else self.to_folio_no;
|
||||||
doc.save()
|
doc.save()
|
||||||
else:
|
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):
|
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'))
|
frappe.throw(_('The folio numbers are not matching'))
|
||||||
|
|
||||||
|
@ -80,7 +80,6 @@ class TestShareTransfer(unittest.TestCase):
|
|||||||
]
|
]
|
||||||
for d in share_transfers:
|
for d in share_transfers:
|
||||||
st = frappe.get_doc(d)
|
st = frappe.get_doc(d)
|
||||||
print(st.as_dict())
|
|
||||||
st.submit()
|
st.submit()
|
||||||
|
|
||||||
def test_invalid_share_transfer(self):
|
def test_invalid_share_transfer(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user