> OK, let me try asking another way. How do YOU run unit tests in your
> tipfy app?
> On Jan 18, 11:07 am, Charlie <charlieev...@gmail.com> wrote:
> > Given a standard set-up, how do you run unit tests that let you use
> > the Tipfy test client?
> > I'm trying to add client unit tests for a small tipfy app that I'm
> > porting from Django. I found the examples for using the tipfy test
> > client, but when I run the unit tests it can't find the tipfy module.
> > I've started from the base all-in-one project, so my app is in:
> > app/apps/my_app
> > Here's the command, after cd-ing to the app directory:
> > $ nosetests --with-gae --without-sandbox
> > E
> > ======================================================================
> > ERROR: Failure: ImportError (No module named tipfy)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> > File "/Library/Python/2.5/site-packages/nose-1.0.0-py2.5.egg/nose/
> > loader.py", line 390, in loadTestsFromName
> > addr.filename, addr.module)
> > File "/Library/Python/2.5/site-packages/nose-1.0.0-py2.5.egg/nose/
> > importer.py", line 39, in importFromPath
> > return self.importFromDir(dir_path, fqname)
> > File "/Library/Python/2.5/site-packages/nose-1.0.0-py2.5.egg/nose/
> > importer.py", line 86, in importFromDir
> > mod = load_module(part_fqname, fh, filename, desc)
> > File "/Users/charlieevett/code/channel-services/app/apps/podcast/
> > tests.py", line 12, in <module>
> > from tipfy import Tipfy
> > ImportError: No module named tipfy
> --
> You received this message because you are subscribed to the Google Groups
> "tipfy" group.
> To post to this group, send email to tipfy@googlegroups.com.
> To unsubscribe from this group, send email to
> tipfy+unsubscribe@googlegroups.com <tipfy%2Bunsubscribe@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/tipfy?hl=en.