Commits

Anonymous 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.

Comments (0)

Files changed (1)

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