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.

Thanks for looking into it.

Saeb

On Mar 5, 5:43 pm, Malcolm Tredinnick <[email protected]>
wrote:
> On Thu, 2009-03-05 at 09:05 -0800, saeb wrote:
> > My project is divided into 3 apps, and all 3 apps have a "tests.py"
> > file. When I run manage.py test, none of the tests run. But if I run
> > manage.py test app1.TestCase1.test1 , it runs fine. For some reason
> > django is unable to find app tests. I have all the apps in
> > INSTALLED_APPS. What am I missing?
>
> Create a really small test file (one short test, testing, say 1 + 1 = 2)
> that has the same behaviour. Then past the contents of that file here
> and we might be able to spot a problem.
>
> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to