Created
June 18, 2014 12:31
-
-
Save zsoldosp/bdf8c82125df418759fe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir vagrant-pytest-does-not-recogniz-pytest-django-on-ubuntu-trusty64 | |
cd vagrant-pytest-does-not-recogniz-pytest-django-on-ubuntu-trusty64 | |
vagrant init ubuntu/trusty64 | |
vagrant ssh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(mkdir installing-into-global &&\ | |
cd installing-into-global &&\ | |
(wget http://peak.telecommunity.com/dist/ez_setup.py -O ez_setup.py &&\ | |
sudo python ez_setup.py -U pip && \ | |
sudo pip install pytest-django pytest-instafail && \ | |
python --version &&\ | |
pip freeze && \ | |
which py.test && \ | |
py.test no-such-path) 2>&1 | tee log) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--2014-06-18 12:24:24-- http://peak.telecommunity.com/dist/ez_setup.py | |
Resolving peak.telecommunity.com (peak.telecommunity.com)... 209.190.5.234 | |
Connecting to peak.telecommunity.com (peak.telecommunity.com)|209.190.5.234|:80... connected. | |
HTTP request sent, awaiting response... 200 OK | |
Length: 10240 (10K) [text/plain] | |
Saving to: ‘ez_setup.py’ | |
0K .......... 100% 46.6K=0.2s | |
2014-06-18 12:24:29 (46.6 KB/s) - ‘ez_setup.py’ saved [10240/10240] | |
Downloading http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg | |
Searching for pip | |
Reading http://pypi.python.org/simple/pip/ | |
Best match: pip 1.5.6 | |
Downloading https://pypi.python.org/packages/source/p/pip/pip-1.5.6.tar.gz#md5=01026f87978932060cc86c1dc527903e | |
Processing pip-1.5.6.tar.gz | |
Running pip-1.5.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-oAAuqY/pip-1.5.6/egg-dist-tmp-FGM34N | |
warning: no files found matching 'pip/cacert.pem' | |
warning: no files found matching '*.html' under directory 'docs' | |
warning: no previously-included files matching '*.rst' found under directory 'docs/_build' | |
no previously-included directories found matching 'docs/_build/_sources' | |
Adding pip 1.5.6 to easy-install.pth file | |
Installing pip script to /usr/local/bin | |
Installing pip2.7 script to /usr/local/bin | |
Installing pip2 script to /usr/local/bin | |
Installed /usr/local/lib/python2.7/dist-packages/pip-1.5.6-py2.7.egg | |
Processing dependencies for pip | |
Finished processing dependencies for pip | |
Processing setuptools-0.6c11-py2.7.egg | |
Copying setuptools-0.6c11-py2.7.egg to /usr/local/lib/python2.7/dist-packages | |
Adding setuptools 0.6c11 to easy-install.pth file | |
Installing easy_install script to /usr/local/bin | |
Installing easy_install-2.7 script to /usr/local/bin | |
Installed /usr/local/lib/python2.7/dist-packages/setuptools-0.6c11-py2.7.egg | |
Processing dependencies for setuptools==0.6c11 | |
Finished processing dependencies for setuptools==0.6c11 | |
Downloading/unpacking pytest-django | |
Downloading pytest_django-2.6.2-py2.py3-none-any.whl | |
Downloading/unpacking pytest-instafail | |
Downloading pytest-instafail-0.2.0.tar.gz | |
Running setup.py (path:/tmp/pip_build_root/pytest-instafail/setup.py) egg_info for package pytest-instafail | |
Downloading/unpacking pytest>=2.3.4 (from pytest-django) | |
Running setup.py (path:/tmp/pip_build_root/pytest/setup.py) egg_info for package pytest | |
Downloading/unpacking py>=1.4.20 (from pytest>=2.3.4->pytest-django) | |
Running setup.py (path:/tmp/pip_build_root/py/setup.py) egg_info for package py | |
Installing collected packages: pytest-django, pytest-instafail, pytest, py | |
Running setup.py install for pytest-instafail | |
Running setup.py install for pytest | |
Installing py.test script to /usr/local/bin | |
Installing py.test-2.7 script to /usr/local/bin | |
Running setup.py install for py | |
Successfully installed pytest-django pytest-instafail pytest py | |
Cleaning up... | |
Python 2.7.6 | |
Cheetah==2.4.4 | |
Landscape-Client==14.01 | |
PAM==0.4.2 | |
PyYAML==3.10 | |
SecretStorage==2.0.0 | |
Twisted-Core==13.2.0 | |
Twisted-Names==13.2.0 | |
Twisted-Web==13.2.0 | |
apt-xapian-index==0.45 | |
argparse==1.2.1 | |
chardet==2.0.1 | |
cloud-init==0.7.5 | |
configobj==4.7.2 | |
httplib2==0.8 | |
jsonpatch==1.3 | |
jsonpointer==1.0 | |
keyring==3.5 | |
launchpadlib==1.10.2 | |
lazr.restfulclient==0.13.3 | |
lazr.uri==1.0.3 | |
oauth==1.0.1 | |
prettytable==0.7.2 | |
py==1.4.20 | |
pyOpenSSL==0.13 | |
pycrypto==2.6.1 | |
pycurl==7.19.3 | |
pygobject==3.12.0 | |
pyserial==2.6 | |
pytest==2.5.2 | |
pytest-django==2.6.2 | |
pytest-instafail==0.2.0 | |
python-apt==0.9.3.5 | |
python-debian==0.1.21-nmu2ubuntu2 | |
requests==2.2.1 | |
simplejson==3.3.1 | |
six==1.5.2 | |
ssh-import-id==3.21 | |
urllib3==1.7.1 | |
wadllib==1.3.2 | |
wsgiref==0.1.2 | |
zope.interface==4.0.5 | |
/usr/local/bin/py.test | |
============================= test session starts ============================== | |
platform linux2 -- Python 2.7.6 -- py-1.4.20 -- pytest-2.5.2 | |
plugins: instafail | |
ERROR: file not found: no-such-path | |
=============================== in 0.01 seconds =============================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(mkdir installing-into-venv &&\ | |
cd installing-into-venv &&\ | |
sudo pip install virtualenv &&\ | |
(virtualenv venvpytest --no-site-packages --no-setuptools --no-pip &&\ | |
source venvpytest/bin/activate &&\ | |
wget http://peak.telecommunity.com/dist/ez_setup.py -O ez_setup.py &&\ | |
python ez_setup.py -U pip &&\ | |
pip install pytest-django pytest-instafail &&\ | |
python --version &&\ | |
pip freeze &&\ | |
py.test no-such-path) 2>&1 | tee log) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
New python executable in venvpytest/bin/python | |
--2014-06-18 12:25:28-- http://peak.telecommunity.com/dist/ez_setup.py | |
Resolving peak.telecommunity.com (peak.telecommunity.com)... 209.190.5.234 | |
Connecting to peak.telecommunity.com (peak.telecommunity.com)|209.190.5.234|:80... connected. | |
HTTP request sent, awaiting response... 200 OK | |
Length: 10240 (10K) [text/plain] | |
Saving to: ‘ez_setup.py’ | |
0K .......... 100% 46.2K=0.2s | |
2014-06-18 12:25:33 (46.2 KB/s) - ‘ez_setup.py’ saved [10240/10240] | |
Downloading http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg | |
Searching for pip | |
Reading http://pypi.python.org/simple/pip/ | |
Best match: pip 1.5.6 | |
Downloading https://pypi.python.org/packages/source/p/pip/pip-1.5.6.tar.gz#md5=01026f87978932060cc86c1dc527903e | |
Processing pip-1.5.6.tar.gz | |
Running pip-1.5.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ZurI51/pip-1.5.6/egg-dist-tmp-IiwWkd | |
warning: no files found matching 'pip/cacert.pem' | |
warning: no files found matching '*.html' under directory 'docs' | |
warning: no previously-included files matching '*.rst' found under directory 'docs/_build' | |
no previously-included directories found matching 'docs/_build/_sources' | |
Adding pip 1.5.6 to easy-install.pth file | |
Installing pip script to /home/vagrant/installing-into-venv/venvpytest/bin | |
Installing pip2.7 script to /home/vagrant/installing-into-venv/venvpytest/bin | |
Installing pip2 script to /home/vagrant/installing-into-venv/venvpytest/bin | |
Installed /home/vagrant/installing-into-venv/venvpytest/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg | |
Processing dependencies for pip | |
Finished processing dependencies for pip | |
Processing setuptools-0.6c11-py2.7.egg | |
Copying setuptools-0.6c11-py2.7.egg to /home/vagrant/installing-into-venv/venvpytest/lib/python2.7/site-packages | |
Adding setuptools 0.6c11 to easy-install.pth file | |
Installing easy_install script to /home/vagrant/installing-into-venv/venvpytest/bin | |
Installing easy_install-2.7 script to /home/vagrant/installing-into-venv/venvpytest/bin | |
Installed /home/vagrant/installing-into-venv/venvpytest/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg | |
Processing dependencies for setuptools==0.6c11 | |
Finished processing dependencies for setuptools==0.6c11 | |
Downloading/unpacking pytest-django | |
Downloading pytest_django-2.6.2-py2.py3-none-any.whl | |
Downloading/unpacking pytest-instafail | |
Downloading pytest-instafail-0.2.0.tar.gz | |
Running setup.py (path:/home/vagrant/installing-into-venv/venvpytest/build/pytest-instafail/setup.py) egg_info for package pytest-instafail | |
Downloading/unpacking pytest>=2.3.4 (from pytest-django) | |
Running setup.py (path:/home/vagrant/installing-into-venv/venvpytest/build/pytest/setup.py) egg_info for package pytest | |
Downloading/unpacking py>=1.4.20 (from pytest>=2.3.4->pytest-django) | |
Running setup.py (path:/home/vagrant/installing-into-venv/venvpytest/build/py/setup.py) egg_info for package py | |
Installing collected packages: pytest-django, pytest-instafail, pytest, py | |
Running setup.py install for pytest-instafail | |
Running setup.py install for pytest | |
Installing py.test script to /home/vagrant/installing-into-venv/venvpytest/bin | |
Installing py.test-2.7 script to /home/vagrant/installing-into-venv/venvpytest/bin | |
Running setup.py install for py | |
Successfully installed pytest-django pytest-instafail pytest py | |
Cleaning up... | |
Python 2.7.6 | |
argparse==1.2.1 | |
py==1.4.20 | |
pytest==2.5.2 | |
pytest-django==2.6.2 | |
pytest-instafail==0.2.0 | |
wsgiref==0.1.2 | |
============================= test session starts ============================== | |
platform linux2 -- Python 2.7.6 -- py-1.4.20 -- pytest-2.5.2 | |
plugins: instafail | |
ERROR: file not found: no-such-path | |
=============================== in 0.01 seconds =============================== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment