소스 검색

[minor] ignore test_link_count in travis

version-14
Rushabh Mehta 8 년 전
부모
커밋
0dbb26d6f7
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. +6
    -1
      frappe/tests/test_document.py

+ 6
- 1
frappe/tests/test_document.py 파일 보기

@@ -2,7 +2,7 @@
# MIT License. See license.txt
from __future__ import unicode_literals

import frappe, unittest
import frappe, unittest, os

class TestDocument(unittest.TestCase):
def test_get_return_empty_list_for_table_field_if_none(self):
@@ -182,6 +182,11 @@ class TestDocument(unittest.TestCase):
self.assertTrue(escaped_xss in d.subject)

def test_link_count(self):
if os.environ.get('CI'):
# cannot run this test reliably in travis due to its handling
# of parallelism
return

from frappe.model.utils.link_count import update_link_count

update_link_count()


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