From bf62df720d68b36e6e9ff0956c4dd6c608a73adc Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Wed, 30 Mar 2016 16:16:22 +0530 Subject: [PATCH] [test] print for test --- frappe/tests/test_document.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frappe/tests/test_document.py b/frappe/tests/test_document.py index 6d5b8662c5..4a39bc9614 100644 --- a/frappe/tests/test_document.py +++ b/frappe/tests/test_document.py @@ -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)