Sfoglia il codice sorgente

[minor] ignore test_link_count in travis

version-14
Rushabh Mehta 8 anni fa
parent
commit
0dbb26d6f7
1 ha cambiato i file con 6 aggiunte e 1 eliminazioni
  1. +6
    -1
      frappe/tests/test_document.py

+ 6
- 1
frappe/tests/test_document.py Vedi File

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


Caricamento…
Annulla
Salva