[fix] for ci

This commit is contained in:
Rushabh Mehta 2017-08-10 14:55:04 +05:30
parent f4700957fa
commit 9785e925b7
2 changed files with 6 additions and 0 deletions

View 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)

View file

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