Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'wed,': 0.03; 'subject:module': 0.04; 'importerror:': 0.07; 'tests,': 0.07; 'files.': 0.10; 'error:': 0.12; 'am,': 0.14; 'wrote:': 0.14; 'abhishek': 0.16; 'traceback': 0.16; '(most': 0.16; 'cc:addr :python-list': 0.17; 'header:In-Reply-To:1': 0.21; 'cc:2**0': 0.22; 'cc:no real name:2**0': 0.23; 'last):': 0.23; 'structure': 0.23; 'received:209.85.220': 0.25; 'url:mailman': 0.26; 'message- id:@mail.gmail.com': 0.28; 'hey': 0.28; 'import': 0.29; 'cc:addr:python.org': 0.30; 'url:listinfo': 0.30; 'module': 0.30; '\xc2\xa0\xc2\xa0\xc2\xa0': 0.30; 'sort': 0.31; 'named': 0.32; 'error': 0.33; '...': 0.34; 'file': 0.34; 'skip:" 10': 0.35; 'test': 0.35; 'received:google.com': 0.37; 'received:209.85': 0.37; 'url:python': 0.38; 'url:org': 0.38; 'run': 0.38; 'but': 0.38; 'subject:: ': 0.38; 'perhaps': 0.39; 'received:209': 0.39; 'listed': 0.40; 'help': 0.40; 'our': 0.63; 'subject:name': 0.67; '11:53': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=gzOHo0/+H8JR0gqsu/AuVUHw9rloYWZ8IS9qvwE41JY=; b=CvP6Vf08Zj3IIiEoqej9OmKoIRhS6LU3uqnM5oJAOiqZr6mMw0ShEkpprtpbjhJPAR UGZQczJw8LqTbdk+C+aJ/MYMsLKrdp+rdjcu1Q7S7aS+cWWW2rEXZ0QFPkiKk+7lSis1 xARfO3Xhgfn6M1yCZsGC/LoiKydqmoL1WBmwM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=TvXzO9XcBDbeCt6MoJr6wcqUQkdPSjxzjo0jtXq1nhmE8Fih2/nL3aPmLXj3/vBgd0 Itql6UzbVWa//dSOYzBkJU7QaWdY2OvUytmkmWyvQQFfsDiEsG/heCJbxSSKEOFt66Bp pex7Gg2yox3ymq6y+TXEle925cDC9k2Ej8XW0= MIME-Version: 1.0 In-Reply-To: References: From: =?UTF-8?B?QWJoaXNoZWsgQW1iZXJrYXIgW+CkheCkreCkv+Ckt+Clh+CklV0=?= Date: Wed, 1 Jun 2011 13:08:30 +0530 Subject: Re: No module name tests To: "SONAL ..." Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 27 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1306913934 news.xs4all.nl 49039 [::ffff:82.94.164.166]:50257 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:6789 On Wed, Jun 1, 2011 at 11:53 AM, SONAL ... wrote: > Hey i have directory structure as > gkwebapp/gnukhata-webapp/gnukhata/tests/functional in which we have our t= est > files. > > When i run tests, get following error: > > Traceback (most recent call last): > =C2=A0 File "test_account.py", line 1, in > =C2=A0=C2=A0=C2=A0 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" ?? --=20 With Regards Abhishek Amberkar