{"action":"closed","issue":{"url":"https://api.github.com/repos/salsita/shishito/issues/5","labels_url":"https://api.github.com/repos/salsita/shishito/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/salsita/shishito/issues/5/comments","events_url":"https://api.github.com/repos/salsita/shishito/issues/5/events","html_url":"https://github.com/salsita/shishito/issues/5","id":33579193,"number":5,"title":"Move common test fixtures from project to library","user":{"login":"sankaritan","id":6403413,"avatar_url":"https://avatars.githubusercontent.com/u/6403413?v=3","gravatar_id":"","url":"https://api.github.com/users/sankaritan","html_url":"https://github.com/sankaritan","followers_url":"https://api.github.com/users/sankaritan/followers","following_url":"https://api.github.com/users/sankaritan/following{/other_user}","gists_url":"https://api.github.com/users/sankaritan/gists{/gist_id}","starred_url":"https://api.github.com/users/sankaritan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sankaritan/subscriptions","organizations_url":"https://api.github.com/users/sankaritan/orgs","repos_url":"https://api.github.com/users/sankaritan/repos","events_url":"https://api.github.com/users/sankaritan/events{/privacy}","received_events_url":"https://api.github.com/users/sankaritan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/salsita/shishito/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-05-15T12:08:04Z","updated_at":"2015-05-27T11:00:41Z","closed_at":"2015-05-27T11:00:41Z","body":"There are common fixture functions in conftest.py (in sample project). They are picked up by tests during runtime. Problem is that conftest.py is directory-specific file and therefore needs to be located in the project folder. Having it in salsa_webqa folder will not work.\r\n\r\nThere are possible solutions to this:\r\n* create custom plugin with those common fixtures http://pytest.org/latest/plugins.html#setuptools-entry-points\r\n* automatically copy the file from salsa_webqa to project folder before tests start"}}