On Thu, 2009-03-05 at 19:46 -0800, saeb wrote: > In App1 > import pdb > import unittest > from django.test.client import Client > > class ShortTest(unittest.TestCase): > def add_test(self): > a = 1 > b = 1 > self.assertEqual(a,b) > > > This is my short test and I see the same issue ...manage.py test > doesn't run the test. But if I do manage.py test > App1.ShortTest.add_test the test runs fine.
Only methods whose name starts with the string "test" are automatically run. So if you changed it to "test_add" you would be fine. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---