Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
fd0754b4
Commit
fd0754b4
authored
10 years ago
by
Christine Lytwynec
Browse files
Options
Downloads
Plain Diff
Merge pull request #6626 from edx/clytwynec/fix-failing-login-tests
add test security settings to bokchoy envs
parents
f9d8198e
abcf2bca
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lms/envs/bok_choy.py
+11
-0
11 additions, 0 deletions
lms/envs/bok_choy.py
with
11 additions
and
0 deletions
lms/envs/bok_choy.py
+
11
−
0
View file @
fd0754b4
...
...
@@ -89,6 +89,17 @@ YOUTUBE['API'] = "127.0.0.1:{0}/get_youtube_api/".format(YOUTUBE_PORT)
YOUTUBE
[
'
TEST_URL
'
]
=
"
127.0.0.1:{0}/test_youtube/
"
.
format
(
YOUTUBE_PORT
)
YOUTUBE
[
'
TEXT_API
'
][
'
url
'
]
=
"
127.0.0.1:{0}/test_transcripts_youtube/
"
.
format
(
YOUTUBE_PORT
)
############################# SECURITY SETTINGS ################################
# Default to advanced security in common.py, so tests can reset here to use
# a simpler security model
FEATURES
[
'
ENFORCE_PASSWORD_POLICY
'
]
=
False
FEATURES
[
'
ENABLE_MAX_FAILED_LOGIN_ATTEMPTS
'
]
=
False
FEATURES
[
'
SQUELCH_PII_IN_LOGS
'
]
=
False
FEATURES
[
'
PREVENT_CONCURRENT_LOGINS
'
]
=
False
FEATURES
[
'
ADVANCED_SECURITY
'
]
=
False
PASSWORD_MIN_LENGTH
=
None
PASSWORD_COMPLEXITY
=
{}
#####################################################################
# Lastly, see if the developer has any local overrides.
try
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment