fetch updated document in test_quotation

This commit is contained in:
0Pranav 2019-11-25 17:11:12 +05:30
parent cf3a2f6579
commit 565d3efcdf

View File

@ -222,6 +222,7 @@ class TestQuotation(unittest.TestCase):
expired_quotation.save()
expired_quotation.submit()
set_expired_status()
expired_quotation = frappe.get_doc("Quotation",expired_quotation.name)
self.assertEqual(expired_quotation.status,"Expired")