Commits

Preston Timmons  committed f31b1c7

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 b49075e

Comments (0)

Files changed (1)

File admin_tools/menu/tests.py

 from tempfile import mktemp
-from unittest import TestCase
-from django.test import TestCase as DjangoTestCase
+from django.test import TestCase
 from django.core import management
 
+
 class ManagementCommandTest(TestCase):
-    def test_customdashboard(self):
+
+    def test_custommenu(self):
         # check that customdashboard command doesn't raise exceptions
         file_name = mktemp()
         management.call_command('custommenu', file=file_name)