Files
edx-platform/common/test/acceptance/pages/common/__init__.py
Amit 8649385861 INCR-244: Make compatible with Python 3.x without breaking Python 2.7… (#20531)
* INCR-244: Make compatible with Python 3.x without breaking Python 2.7 support on common/test/acceptance/pages [common, xblock]

* INCR-244: Add missing module docstring and fix for six import

* INCR-244: Update module docstring
2019-05-14 11:10:25 -04:00

17 lines
527 B
Python

"""
Package of common page objects for acceptance tests
"""
from __future__ import absolute_import
import os
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)
# Get the URL of the instance under test
BASE_URL = os.environ.get('test_url', 'http://{}:{}'.format(HOSTNAME, LMS_PORT))
# The URL used for user auth in testing
AUTH_BASE_URL = os.environ.get('test_url', 'http://{}:{}'.format(HOSTNAME, CMS_PORT))