Files
edx-platform/common/test/acceptance/pages/studio/__init__.py
2021-03-09 18:03:34 +05:00

14 lines
410 B
Python

"""
Envirement setuo for studio video tests.
"""
import os
# Get the URL of the instance under test
HOSTNAME = os.environ.get('BOK_CHOY_HOSTNAME', 'localhost')
CMS_PORT = os.environ.get('BOK_CHOY_CMS_PORT', 8031)
LMS_PORT = os.environ.get('BOK_CHOY_LMS_PORT', 8003)
BASE_URL = os.environ.get('test_url', f'http://{HOSTNAME}:{CMS_PORT}')
LMS_URL = os.environ.get('test_url', f'http://{HOSTNAME}:{LMS_PORT}')