-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 KLEIN Stéphane wrote: > Hi, > > usually I use nose to execute my tests. > > In Chameleon project, I can't use nose, example of fail : > > (env1)$ nosetests src/chameleon/tests/test_doctests -vs > Failure: OSError (No such file > /home/harobed/projets/repoze/chameleon/src/chameleon/src/chameleon/tests/test_doctests) > ... ERROR > > ====================================================================== > ERROR: Failure: OSError (No such file > /home/harobed/projets/repoze/chameleon/src/chameleon/src/chameleon/tests/test_doctests) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/home/harobed/projets/repoze/env1/lib/python2.6/site-packages/nose/failure.py", > line 39, in runTest > raise self.exc_class(self.exc_val) > OSError: No such file > /home/harobed/projets/repoze/chameleon/src/chameleon/src/chameleon/tests/test_doctests > > ---------------------------------------------------------------------- > Ran 1 test in 0.001s > > FAILED (errors=1) > > > Well, I can use ``python setup.py test`` to launch all tests. > > Question : > > * how can I launch only one test, example > ``chameleon/tests/test_doctests.py:CoreTests.test_parsing_module`` ? > > Thanks for your help,
Try running 'python setup.py --help' to see the options you can pass on the command line. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkvcXEsACgkQ+gerLs4ltQ6KqACgz2kdvY6gorlQsj+Z5/uDD5xp /3kAn3oySYSMCfQcvE2Gh5pEnduPvhGI =VEGe -----END PGP SIGNATURE----- _______________________________________________ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev