Pylons / pylons

Pylons Framework, community maintained with guidance/assistance from the Pylons Project. Merged with repoze.bfg for Pyramid framework.
Other
231 stars 76 forks source link

nosetests fails #13

Open tholo opened 12 years ago

tholo commented 12 years ago

With Pylons 1.0.1rc1 running nosetests on a Pylons project no longer works -- seems the nose plugin is no longer registered, and so nosetests fails saying "--with-nose" is not a recognized option.

This happens in a new, clean virtual environment with an unmodified "pylons_minimal" template, as well:

nose.config.ConfigError: Error reading config file 'setup.cfg': no such option 'with-pylons'

ferrouswheel commented 12 years ago

I am also affected by this problem.

alswl commented 12 years ago

Pylons 1.0 works well with nose.

daredevildave commented 12 years ago

Is this likely to be fixed? It pretty much rules out upgrading for me.

ronnix commented 11 years ago

The nose plugin registration was removed from Pylons' own setup.py in this commit: da8c00cabc62ad7d6f3dc19ce75ad6a4025d39c0

A workaround is to add it to your own project's setup.py:

entry_points="""
[nose.plugins]
pylons = pylons.test:PylonsPlugin
""",