1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-05-31 11:07:10 +00:00
seahub/tests/common/common.py

14 lines
300 B
Python
Raw Normal View History

2014-08-27 03:08:39 +00:00
import os
2014-08-27 09:13:05 +00:00
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')
2014-09-03 04:20:26 +00:00
if BASE_URL[-1] != '/':
BASE_URL += '/'
2014-08-28 02:21:28 +00:00
if os.getenv('CI_IS_PRO', u'') == u'':
IS_PRO = False
else:
IS_PRO = True