No module name tests

Abhishek Amberkar [अभिषेक] abhishek.amberkar at gmail.com
Wed Jun 1 03:38:30 EDT 2011


On Wed, Jun 1, 2011 at 11:53 AM, SONAL ... <ssonaldd at gmail.com> wrote:
> Hey i have directory structure as
> gkwebapp/gnukhata-webapp/gnukhata/tests/functional in which we have our test
> files.
>
> When i run tests, get following error:
>
> Traceback (most recent call last):
>   File "test_account.py", line 1, in <module>
>     from gnukhata.tests import *
> ImportError: No module named gnukhata.tests
>
> Why do this error come?? I have searched a lot but no use. Can you please
> help me to sort it out???
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>

Perhaps that directory is not listed in "sys.path" ??


-- 
With Regards
Abhishek Amberkar



More information about the Python-list mailing list