def tearDown(self): frappe.set_user(self.old_user) frappe.db.set_value("Gift Card", self.gift_card_no, "balance", self.old_balance) remove_test_doc("Journal Entry", { "company": "Optix", "posting_date": "2019-03-01" })
def tearDown(self): remove_test_doc("Gift Card", {"gift_card_no": "Test Serial No"}) remove_test_doc("Serial No", {"serial_no": "Test Serial No"})
def tearDown(self): remove_test_doc("Item", {"item_name": "Test Green Solution"})
def tearDown(self): remove_test_doc("Customer", {"customer_name": "Test Barney Gumble"}) frappe.set_user(self.old_user)
def tearDown(self): remove_test_doc(*self.test_doc_args)
def tearDown(self): frappe.set_user(self.old_user) remove_test_doc("Sales Order", {"owner": "*****@*****.**"})
def tearDown(self): frappe.set_user(self.old_user) frappe.db.set_value("Gift Card", self.serial_no, "expiry_date", self.old_expiry_date) remove_test_doc("Sales Invoice", {"owner": "*****@*****.**"})
def tearDown(self): frappe.set_user(self.old_user) frappe.db.set_value("Gift Card", self.gift_card_no, "balance", self.old_balance) remove_test_doc("Sales Invoice", {"owner": "*****@*****.**"})