Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
course-discovery
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
course-discovery
Commits
d02d90df
Commit
d02d90df
authored
Nov 09, 2015
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stop using REUSE_DB, as it doesn't detect needed migrations
parent
0833f6c5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
Makefile
+1
-1
edx_course_discovery/apps/core/tests/test_views.py
+2
-1
No files found.
Makefile
View file @
d02d90df
...
@@ -30,7 +30,7 @@ requirements:
...
@@ -30,7 +30,7 @@ requirements:
pip install
-qr
requirements/local.txt
--exists-action
w
pip install
-qr
requirements/local.txt
--exists-action
w
test
:
clean
test
:
clean
REUSE_DB
=
1
coverage run ./manage.py
test
edx_course_discovery
--settings
=
edx_course_discovery.settings.test
coverage run ./manage.py
test
edx_course_discovery
--settings
=
edx_course_discovery.settings.test
coverage report
coverage report
quality
:
quality
:
...
...
edx_course_discovery/apps/core/tests/test_views.py
View file @
d02d90df
...
@@ -6,6 +6,7 @@ from django.contrib.auth import get_user_model
...
@@ -6,6 +6,7 @@ from django.contrib.auth import get_user_model
from
django.core.urlresolvers
import
reverse
from
django.core.urlresolvers
import
reverse
from
django.test
import
TestCase
from
django.test
import
TestCase
from
django.test.utils
import
override_settings
from
django.test.utils
import
override_settings
from
django.utils.encoding
import
force_text
import
mock
import
mock
from
edx_course_discovery.apps.core.constants
import
Status
from
edx_course_discovery.apps.core.constants
import
Status
...
@@ -39,7 +40,7 @@ class HealthTests(TestCase):
...
@@ -39,7 +40,7 @@ class HealthTests(TestCase):
}
}
}
}
self
.
assertJSONEqual
(
response
.
content
,
expected_data
)
self
.
assertJSONEqual
(
force_text
(
response
.
content
)
,
expected_data
)
class
AutoAuthTests
(
TestCase
):
class
AutoAuthTests
(
TestCase
):
...
...
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