x86_64-centos-awx/awx/main/tests/unit/test_settings.py
2021-03-02 20:53:43 +08:00

10 lines
319 B
Python

from split_settings.tools import include
def test_postprocess_auth_basic_enabled():
locals().update({'__file__': __file__})
include('../../../settings/defaults.py', scope=locals())
assert 'awx.api.authentication.LoggedBasicAuthentication' in locals()['REST_FRAMEWORK']['DEFAULT_AUTHENTICATION_CLASSES']