[test] print for test
This commit is contained in:
parent
ca3c143e5b
commit
bf62df720d
1 changed files with 5 additions and 0 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue