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
be00a961
Commit
be00a961
authored
Mar 17, 2016
by
Eric Fischer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get environment variable for bok-choy-custom runs
parent
0c993788
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
pavelib/bok_choy.py
+1
-1
pavelib/utils/test/suites/bokchoy_suite.py
+3
-1
No files found.
pavelib/bok_choy.py
View file @
be00a961
...
@@ -44,7 +44,7 @@ def parse_bokchoy_opts(options):
...
@@ -44,7 +44,7 @@ def parse_bokchoy_opts(options):
'test_spec'
:
getattr
(
options
,
'test_spec'
,
None
),
'test_spec'
:
getattr
(
options
,
'test_spec'
,
None
),
'fasttest'
:
getattr
(
options
,
'fasttest'
,
False
),
'fasttest'
:
getattr
(
options
,
'fasttest'
,
False
),
'num_processes'
:
int
(
getattr
(
options
,
'num_processes'
,
1
)),
'num_processes'
:
int
(
getattr
(
options
,
'num_processes'
,
1
)),
'verify_xss'
:
getattr
(
options
,
'verify_xss'
,
False
),
'verify_xss'
:
getattr
(
options
,
'verify_xss'
,
os
.
environ
.
get
(
'VERIFY_XSS'
,
False
)
),
'serversonly'
:
getattr
(
options
,
'serversonly'
,
False
),
'serversonly'
:
getattr
(
options
,
'serversonly'
,
False
),
'testsonly'
:
getattr
(
options
,
'testsonly'
,
False
),
'testsonly'
:
getattr
(
options
,
'testsonly'
,
False
),
'default_store'
:
getattr
(
options
,
'default_store'
,
os
.
environ
.
get
(
'DEFAULT_STORE'
,
'split'
)),
'default_store'
:
getattr
(
options
,
'default_store'
,
os
.
environ
.
get
(
'DEFAULT_STORE'
,
'split'
)),
...
...
pavelib/utils/test/suites/bokchoy_suite.py
View file @
be00a961
...
@@ -11,6 +11,8 @@ from pavelib.utils.envs import Env
...
@@ -11,6 +11,8 @@ from pavelib.utils.envs import Env
from
pavelib.utils.test
import
bokchoy_utils
from
pavelib.utils.test
import
bokchoy_utils
from
pavelib.utils.test
import
utils
as
test_utils
from
pavelib.utils.test
import
utils
as
test_utils
import
os
try
:
try
:
from
pygments.console
import
colorize
from
pygments.console
import
colorize
except
ImportError
:
except
ImportError
:
...
@@ -54,7 +56,7 @@ class BokChoyTestSuite(TestSuite):
...
@@ -54,7 +56,7 @@ class BokChoyTestSuite(TestSuite):
self
.
default_store
=
kwargs
.
get
(
'default_store'
,
None
)
self
.
default_store
=
kwargs
.
get
(
'default_store'
,
None
)
self
.
verbosity
=
kwargs
.
get
(
'verbosity'
,
DEFAULT_VERBOSITY
)
self
.
verbosity
=
kwargs
.
get
(
'verbosity'
,
DEFAULT_VERBOSITY
)
self
.
num_processes
=
kwargs
.
get
(
'num_processes'
,
DEFAULT_NUM_PROCESSES
)
self
.
num_processes
=
kwargs
.
get
(
'num_processes'
,
DEFAULT_NUM_PROCESSES
)
self
.
verify_xss
=
kwargs
.
get
(
'verify_xss'
,
False
)
self
.
verify_xss
=
kwargs
.
get
(
'verify_xss'
,
os
.
environ
.
get
(
'VERIFY_XSS'
,
False
)
)
self
.
extra_args
=
kwargs
.
get
(
'extra_args'
,
''
)
self
.
extra_args
=
kwargs
.
get
(
'extra_args'
,
''
)
self
.
har_dir
=
self
.
log_dir
/
'hars'
self
.
har_dir
=
self
.
log_dir
/
'hars'
self
.
a11y_file
=
Env
.
BOK_CHOY_A11Y_CUSTOM_RULES_FILE
self
.
a11y_file
=
Env
.
BOK_CHOY_A11Y_CUSTOM_RULES_FILE
...
...
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