Commits

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

Comments (0)

Files changed (1)

File admin_tools/dashboard/tests.py

 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()