On Fri, Feb 26, 2010 at 12:26:59PM -0800, iain duncan wrote: > Hi folks, I'm wondering why when using nose to runs pylons > paste.fixture based test classes, setup/teardown don't seem to run > ( maybe I'm missing something?)
It's hard to say, since you provided almost no information (e.g. the error traceback is often very useful for diagnosing problems). I'll make a guess. There's a trick to it: the Pylons nose plugin that does some additional setup. Perhaps you're missing that. Usually it's enabled in setup.cfg: [nosetests] with-pylons = test.ini You can also try it on the command line: nosetests --with-pylons=test.ini see if nose picks up the Pylons plugin. Marius Gedminas -- "What's the name of the new OO COBOL -- an equivalent of C++?" "ADD 1 TO COBOL GIVING COBOL"
signature.asc
Description: Digital signature
