1. David Jean Louis
  2. django-admin-tools


Preston Timmons  committed 4e4707b

Modified ManagementCommandTest to inherit from the Django TestCase class. This fixes the test failure due to not being able to load the application templates.

  • Participants
  • Parent commits f31b1c7
  • Branches default

Comments (0)

Files changed (1)

File admin_tools/dashboard/tests.py

View file
 from admin_tools.dashboard import AppIndexDashboard
 from admin_tools.dashboard.modules import DashboardModule
-class ManagementCommandTest(TestCase):
+class ManagementCommandTest(DjangoTestCase):
     def test_customdashboard(self):
         # check that customdashboard command doesn't raise exceptions
         file_name = mktemp()