python - How do I use pytest with virtualenv? -
i installed pytest virtualenv , running virtual env, not using packages installed in virtual env. instead using main system packages. (using "python -m unittest discover", can run tests right python , packages, want use py.test framework.)
is possible py.test not running pytest inside virtualenv , have specify pytest run?
how py.test use python , packages in virtualenv?
also, since have several pythons on system, how tell python pytest using? automatically use python within virtualenv, or have specify somehow?
inside environment, may try
python -m pytest
Comments
Post a Comment