Sfoglia il codice sorgente

[fix] for ci

version-14
Rushabh Mehta 8 anni fa
parent
commit
9785e925b7
2 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. +3
    -0
      frappe/utils/background_jobs.py
  2. +3
    -0
      requirements.txt

+ 3
- 0
frappe/utils/background_jobs.py Vedi File

@@ -54,6 +54,9 @@ def execute_job(site, method, event, job_name, kwargs, user=None, async=True, re

if async:
frappe.connect(site)
if os.environ.get('CI'):
frappe.flags.in_test = True

if user:
frappe.set_user(user)



+ 3
- 0
requirements.txt Vedi File

@@ -34,6 +34,9 @@ beautifulsoup4
rq
schedule
cryptography
pyopenssl
ndg-httpsclient
pyasn1
zxcvbn
psutil
unittest-xml-reporting


Caricamento…
Annulla
Salva