Files
edx-platform/lms/envs/pact.py
2023-08-14 15:04:19 +00:00

15 lines
483 B
Python

"""
Settings for Pact Verification Tests.
"""
from .test import * # pylint: disable=wildcard-import, unused-wildcard-import
#### Allow Pact Provider States URL ####
PROVIDER_STATES_URL = True
#### Default User name for Pact Requests Authentication #####
MOCK_USERNAME = 'Mock User'
######################### Add Authentication Middleware for Pact Verification Calls #########################
MIDDLEWARE = MIDDLEWARE + ['common.test.pacts.middleware.AuthenticationMiddleware', ]