Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #6789

Re: No module name tests

References <BANLkTi=BfLy_F4MEFj9Qbph=78jqYVqucQ@mail.gmail.com>
From Abhishek Amberkar [अभिषेक] <abhishek.amberkar@gmail.com>
Date 2011-06-01 13:08 +0530
Subject Re: No module name tests
Newsgroups comp.lang.python
Message-ID <mailman.2357.1306913933.9059.python-list@python.org> (permalink)

Show all headers | View raw


On Wed, Jun 1, 2011 at 11:53 AM, SONAL ... <ssonaldd@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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: No module name tests Abhishek Amberkar [अभिषेक] <abhishek.amberkar@gmail.com> - 2011-06-01 13:08 +0530

csiph-web