ソースを参照

[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()


読み込み中…
キャンセル
保存