fixes test_settings unit tests

This commit is contained in:
Chris Meyers
2016-11-08 10:56:34 -05:00
parent 549274f97b
commit b66256eb98
2 changed files with 1 additions and 3 deletions

View File

@@ -6,6 +6,3 @@ def test_postprocess_auth_basic_enabled():
include('../../../settings/defaults.py', scope=locals())
assert 'awx.api.authentication.LoggedBasicAuthentication' in locals()['REST_FRAMEWORK']['DEFAULT_AUTHENTICATION_CLASSES']
locals().update({'AUTH_BASIC_ENABLED': False})
include('../../../settings/postprocess.py', scope=locals())
assert 'awx.api.authentication.LoggedBasicAuthentication' not in locals()['REST_FRAMEWORK']['DEFAULT_AUTHENTICATION_CLASSES']