{"action":"created","issue":{"url":"https://api.github.com/repos/Pylons/pyramid/issues/2812","repository_url":"https://api.github.com/repos/Pylons/pyramid","labels_url":"https://api.github.com/repos/Pylons/pyramid/issues/2812/labels{/name}","comments_url":"https://api.github.com/repos/Pylons/pyramid/issues/2812/comments","events_url":"https://api.github.com/repos/Pylons/pyramid/issues/2812/events","html_url":"https://github.com/Pylons/pyramid/issues/2812","id":188921350,"number":2812,"title":"pytest doesn't run tests and runs coverage on virtualenv sources","user":{"login":"dodumosu","id":1408662,"avatar_url":"https://avatars.githubusercontent.com/u/1408662?v=3","gravatar_id":"","url":"https://api.github.com/users/dodumosu","html_url":"https://github.com/dodumosu","followers_url":"https://api.github.com/users/dodumosu/followers","following_url":"https://api.github.com/users/dodumosu/following{/other_user}","gists_url":"https://api.github.com/users/dodumosu/gists{/gist_id}","starred_url":"https://api.github.com/users/dodumosu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dodumosu/subscriptions","organizations_url":"https://api.github.com/users/dodumosu/orgs","repos_url":"https://api.github.com/users/dodumosu/repos","events_url":"https://api.github.com/users/dodumosu/events{/privacy}","received_events_url":"https://api.github.com/users/dodumosu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-11-12T16:48:43Z","updated_at":"2016-11-14T09:55:18Z","closed_at":"2016-11-13T05:43:11Z","body":"Hi, new to Pyramid and following the quick tutorial. Got to the testing section and I had issues getting pytest to execute the tests with the commands in the documentation (likely the way pytest finds tests has changed).\r\n\r\n[this](http://imgur.com/a/1bASs) links to a screenshot that shows the issue.\r\n\r\nI was able to get the tests to run using `py.test hello_world/tests.py --cov --cov-report=term-missing`, but the coverage results weren't limited to the sources in the `hello_world` folder."},"comment":{"url":"https://api.github.com/repos/Pylons/pyramid/issues/comments/260292962","html_url":"https://github.com/Pylons/pyramid/issues/2812#issuecomment-260292962","issue_url":"https://api.github.com/repos/Pylons/pyramid/issues/2812","id":260292962,"user":{"login":"stevepiercy","id":102112,"avatar_url":"https://avatars.githubusercontent.com/u/102112?v=3","gravatar_id":"","url":"https://api.github.com/users/stevepiercy","html_url":"https://github.com/stevepiercy","followers_url":"https://api.github.com/users/stevepiercy/followers","following_url":"https://api.github.com/users/stevepiercy/following{/other_user}","gists_url":"https://api.github.com/users/stevepiercy/gists{/gist_id}","starred_url":"https://api.github.com/users/stevepiercy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevepiercy/subscriptions","organizations_url":"https://api.github.com/users/stevepiercy/orgs","repos_url":"https://api.github.com/users/stevepiercy/repos","events_url":"https://api.github.com/users/stevepiercy/events{/privacy}","received_events_url":"https://api.github.com/users/stevepiercy/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T09:55:18Z","updated_at":"2016-11-14T09:55:18Z","body":"#2813 is a separate matter. Our instructions for [installation in the Quick Tour](http://docs.pylonsproject.org/projects/pyramid/en/latest/quick_tour.html#installation) are terse but sufficient, and provide links for further details about decisions we have made, including [Why use $VENV/bin/pip instead of source bin/activate, then pip](http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/install.html#venv-bin-pip-vs-source-bin-activate).\r\n\r\nThe matter at hand is that you used `activate`, and we don't provide support for that method. All your invocations of `pip whatever` should have been `$VENV/bin/pip whatever`. Same applies for invoking any binary.\r\n\r\nThat said, I'll merge your PR #2813. Thanks for catching those two instances where `$VENV/bin/` was omitted."}}
{"actor":{"display_login":"stevepiercy"}}