I followed the application to run the pylon project tests:
http://pylonshq.com/docs/en/0.9.7/i18n/#testing-the-application
But when I run:
nosetests --with-pylons test.ini
The error is reported:
E:\pylons\helloworld>nosetests --with-pylons test.ini Usage: nosetests-script.py [options] nosetests-script.py: error: no such option: --with-pylons
Why doesn't nosetests know --with-pylonshow to fix it?
--with-pylons
I have never used --with-pylons. When I enter the project directory, it nosetestsdoes the job without any parameters.
nosetests
I am on Linux, with the corresponding virtualenv being activated. It may be different from Windows.
Pylons 1.0.1, Pylons.
, entry_points setup.py:
entry_points
setup.py
[nose.plugins] pylons = pylons.test:PylonsPlugin
, . , (, apt-get install python-nose), Pylons . :
apt-get install python-nose
easy_install -U nose
pip, 1.0.1rc1. -. 1.0.
pip pip install pylons == 1.0
I had the same problem and found a solution here https://github.com/LearningRegistry/LearningRegistry/issues/162