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
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
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
yes, it does. But few of the models.py are empty. whats weird is if I
try to run the tests individually, they run fine, but I can't run then
with manage.py test
thanks for replying.
On Mar 5, 11:52 am, Alex Gaynor wrote:
> On Thu, Mar 5, 2009 at 12:17 PM, saeb wrote:
>
> > Sorry for multipl
On Thu, Mar 5, 2009 at 12:17 PM, saeb wrote:
>
> Sorry for multiple posts
>
>
>
> On Mar 5, 11:16 am, 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.tes
Sorry for multiple posts
On Mar 5, 11:16 am, 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
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?
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?
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?
9 matches
Mail list logo