1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-07-16 00:06:11 +00:00
seahub/tests/common/common.py
2014-09-05 13:51:44 +08:00

14 lines
300 B
Python

import os
BASE_URL = os.getenv('CI_BASE_URL', u'http://127.0.0.1:8000')
USERNAME = os.getenv('CI_USERNAME', u'test@test.com')
PASSWORD = os.getenv('CI_PASSWORD', u'testtest')
if BASE_URL[-1] != '/':
BASE_URL += '/'
if os.getenv('CI_IS_PRO', u'') == u'':
IS_PRO = False
else:
IS_PRO = True