Fixes for pytest database usage

This commit is contained in:
Jeremy Bowman
2017-09-06 13:15:34 -04:00
parent cebf6d3ea9
commit 97f5fe035b
5 changed files with 10 additions and 3 deletions

View File

@@ -7,6 +7,7 @@ import json
import unittest
import mock
from django.test import TestCase
from django.test.utils import override_settings
from django.utils.timezone import utc
from nose.plugins.attrib import attr
@@ -65,7 +66,7 @@ class TestHandleDashboardError(unittest.TestCase):
@attr(shard=1)
class TestRequireStudentIdentifier(unittest.TestCase):
class TestRequireStudentIdentifier(TestCase):
"""
Test require_student_from_identifier()
"""