Commit 3d67c506 by Ned Batchelder

Use TransactionTestCase, to keep other tests from failing, even though it slows them down.

parent 10f062cf
......@@ -7,7 +7,7 @@ import textwrap
import dateutil.parser
from django.test import TestCase
from django.test import TransactionTestCase
from django.db import connection
from courseware.management.commands.clean_history import StudentModuleHistoryCleaner
......@@ -43,7 +43,7 @@ class SmhcDbMocked(SmhcSayStubbed):
self.get_history_for_student_modules.return_value = rows
class HistoryCleanerTest(TestCase):
class HistoryCleanerTest(TransactionTestCase):
"""Base class for all history cleaner tests."""
maxDiff = None
......
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