[test] print for test

This commit is contained in:
Rushabh Mehta 2016-03-30 16:16:22 +05:30
parent ca3c143e5b
commit bf62df720d

View file

@ -211,8 +211,13 @@ class TestDocument(unittest.TestCase):
self.assertEquals(old_count + 1, new_count)
before_update = frappe.db.get_value(doctype, name, 'idx')
print frappe.cache().get_value('_link_count')
update_link_count()
after_update = frappe.db.get_value(doctype, name, 'idx')
print before_update, new_count, after_update
self.assertEquals(before_update + new_count, after_update)