瀏覽代碼

[fix] for ci

version-14
Rushabh Mehta 8 年之前
父節點
當前提交
9785e925b7
共有 2 個檔案被更改,包括 6 行新增0 行删除
  1. +3
    -0
      frappe/utils/background_jobs.py
  2. +3
    -0
      requirements.txt

+ 3
- 0
frappe/utils/background_jobs.py 查看文件

@@ -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 查看文件

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


Loading…
取消
儲存