This will remove imports from __future__ that are no longer needed. https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
14 lines
430 B
Python
14 lines
430 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', 'http://{}:{}'.format(HOSTNAME, CMS_PORT))
|
|
LMS_URL = os.environ.get('test_url', 'http://{}:{}'.format(HOSTNAME, LMS_PORT))
|