소스 검색

[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 {}


불러오는 중...
취소
저장