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
ce4cea0e
Commit
ce4cea0e
authored
Jul 05, 2012
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't fail if no NOSE_COVER_HTML_DIR is set
parent
e9ee1566
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
lms/envs/test.py
+2
-1
No files found.
lms/envs/test.py
View file @
ce4cea0e
...
...
@@ -20,7 +20,8 @@ INSTALLED_APPS = [
# Nose Test Runner
INSTALLED_APPS
+=
[
'django_nose'
]
NOSE_ARGS
=
[
'--cover-erase'
,
'--with-xunit'
,
'--with-xcoverage'
,
'--cover-html'
,
'--cover-inclusive'
,
'--cover-html-dir'
,
os
.
environ
[
'NOSE_COVER_HTML_DIR'
]]
NOSE_ARGS
=
[
'--cover-erase'
,
'--with-xunit'
,
'--with-xcoverage'
,
'--cover-html'
,
'--cover-inclusive'
,
'--cover-html-dir'
,
os
.
environ
.
get
(
'NOSE_COVER_HTML_DIR'
,
'cover_html'
)]
for
app
in
os
.
listdir
(
PROJECT_ROOT
/
'djangoapps'
):
NOSE_ARGS
+=
[
'--cover-package'
,
app
]
TEST_RUNNER
=
'django_nose.NoseTestSuiteRunner'
...
...
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