Преглед на файлове

[fix] test_document.py

version-14
Rushabh Mehta преди 8 години
родител
ревизия
ecadb8ab23
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. +2
    -1
      frappe/tests/test_document.py

+ 2
- 1
frappe/tests/test_document.py Целия файл

@@ -192,10 +192,11 @@ class TestDocument(unittest.TestCase):
d.ref_type = doctype
d.ref_name = name

d.save()

link_count = frappe.cache().get_value('_link_count') or {}
old_count = link_count.get((doctype, name)) or 0

d.save()
frappe.db.commit()

link_count = frappe.cache().get_value('_link_count') or {}


Зареждане…
Отказ
Запис