Commit d02d90df by Calen Pennington

Stop using REUSE_DB, as it doesn't detect needed migrations

parent 0833f6c5
...@@ -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:
......
...@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment