Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
17fda08c
Commit
17fda08c
authored
Feb 11, 2014
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable XBlocks in bok_choy tests
parent
191bd289
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
cms/envs/bok_choy.py
+4
-0
lms/envs/bok_choy.py
+4
-0
No files found.
cms/envs/bok_choy.py
View file @
17fda08c
...
...
@@ -16,6 +16,7 @@ os.environ['SERVICE_VARIANT'] = 'bok_choy'
os
.
environ
[
'CONFIG_ROOT'
]
=
path
(
__file__
)
.
abspath
()
.
dirname
()
#pylint: disable=E1120
from
.aws
import
*
# pylint: disable=W0401, W0614
from
xmodule.x_module
import
prefer_xmodules
######################### Testing overrides ####################################
...
...
@@ -48,5 +49,8 @@ for log_name, log_level in LOG_OVERRIDES:
# Use the auto_auth workflow for creating users and logging them in
FEATURES
[
'AUTOMATIC_AUTH_FOR_TESTING'
]
=
True
# Enable XBlocks
XBLOCK_SELECT_FUNCTION
=
prefer_xmodules
# Unfortunately, we need to use debug mode to serve staticfiles
DEBUG
=
True
lms/envs/bok_choy.py
View file @
17fda08c
...
...
@@ -4,6 +4,7 @@ Settings for bok choy tests
import
os
from
path
import
path
from
xmodule.x_module
import
prefer_xmodules
CONFIG_ROOT
=
path
(
__file__
)
.
abspath
()
.
dirname
()
#pylint: disable=E1120
...
...
@@ -59,5 +60,8 @@ LOG_OVERRIDES = [
for
log_name
,
log_level
in
LOG_OVERRIDES
:
logging
.
getLogger
(
log_name
)
.
setLevel
(
log_level
)
# Enable XBlocks
XBLOCK_SELECT_FUNCTION
=
prefer_xmodules
# Unfortunately, we need to use debug mode to serve staticfiles
DEBUG
=
True
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment