Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-ora2
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-ora2
Commits
8d5d7024
Commit
8d5d7024
authored
Nov 04, 2015
by
muzaffaryousaf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding secret_key to tests.
parent
8131addd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
1 deletions
+18
-1
manage.py
+1
-1
settings/test_with_coverage.py
+17
-0
No files found.
manage.py
View file @
8d5d7024
...
...
@@ -5,7 +5,7 @@ import os
if
__name__
==
"__main__"
:
if
os
.
environ
.
get
(
'DJANGO_SETTINGS_MODULE'
)
is
None
:
os
.
environ
[
'DJANGO_SETTINGS_MODULE'
]
=
'settings.
base
'
os
.
environ
[
'DJANGO_SETTINGS_MODULE'
]
=
'settings.
dev
'
# When using an on-disk database for the test suite,
# Django asks us if we want to delete the database.
...
...
settings/test_with_coverage.py
0 → 100644
View file @
8d5d7024
"""
Django settings for running tests with coverage.
"""
# Inherit from the test settings
from
.test
import
*
# pylint:disable=W0614,W0401
# Configure nose so that tests are run with coverage
NOSE_ARGS
=
[
"-a !acceptance"
,
'--with-coverage'
,
'--cover-package='
+
","
.
join
(
TEST_APPS
),
'--cover-branches'
,
'--cover-erase'
,
]
SECRET_KEY
=
')68&-c!+og)cy$o9pju_$c707+fett&ph
%
t
%
gqgu-@5)!cl$cr'
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