{"action":"created","comment":{"url":"https://api.github.com/repos/cdent/gabbi/pulls/comments/80730171","pull_request_review_id":1765778,"id":80730171,"diff_hunk":"@@ -61,6 +62,8 @@ def build_tests(path, loader, host=None, port=8001, intercept=None,\n     :param prefix: A URL prefix for all URLs that are not fully qualified.\n     :param url: A full URL to test against. Replaces host, port and prefix.\n     :param require_ssl: If ``True``, make all tests default to using SSL.\n+    :param inner_fixtures: A list of ``Fixtures`` to use per test\n+    :type inner_fixtures: List of fixtures.Fixture clases.","path":"gabbi/driver.py","position":15,"original_position":15,"commit_id":"a7d18c7983d714f23c216adc29728bea54ca7e4d","original_commit_id":"a7d18c7983d714f23c216adc29728bea54ca7e4d","user":{"login":"FND","id":3515,"avatar_url":"https://avatars.githubusercontent.com/u/3515?v=3","gravatar_id":"","url":"https://api.github.com/users/FND","html_url":"https://github.com/FND","followers_url":"https://api.github.com/users/FND/followers","following_url":"https://api.github.com/users/FND/following{/other_user}","gists_url":"https://api.github.com/users/FND/gists{/gist_id}","starred_url":"https://api.github.com/users/FND/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FND/subscriptions","organizations_url":"https://api.github.com/users/FND/orgs","repos_url":"https://api.github.com/users/FND/repos","events_url":"https://api.github.com/users/FND/events{/privacy}","received_events_url":"https://api.github.com/users/FND/received_events","type":"User","site_admin":false},"body":"\"classes\"","created_at":"2016-09-27T16:06:00Z","updated_at":"2016-09-27T16:06:00Z","html_url":"https://github.com/cdent/gabbi/pull/175#discussion_r80730171","pull_request_url":"https://api.github.com/repos/cdent/gabbi/pulls/175","_links":{"self":{"href":"https://api.github.com/repos/cdent/gabbi/pulls/comments/80730171"},"html":{"href":"https://github.com/cdent/gabbi/pull/175#discussion_r80730171"},"pull_request":{"href":"https://api.github.com/repos/cdent/gabbi/pulls/175"}}},"pull_request":{"url":"https://api.github.com/repos/cdent/gabbi/pulls/175","id":86960720,"html_url":"https://github.com/cdent/gabbi/pull/175","diff_url":"https://github.com/cdent/gabbi/pull/175.diff","patch_url":"https://github.com/cdent/gabbi/pull/175.patch","issue_url":"https://api.github.com/repos/cdent/gabbi/issues/175","number":175,"state":"open","locked":false,"title":"Inner fixtures","user":{"login":"cdent","id":34498,"avatar_url":"https://avatars.githubusercontent.com/u/34498?v=3","gravatar_id":"","url":"https://api.github.com/users/cdent","html_url":"https://github.com/cdent","followers_url":"https://api.github.com/users/cdent/followers","following_url":"https://api.github.com/users/cdent/following{/other_user}","gists_url":"https://api.github.com/users/cdent/gists{/gist_id}","starred_url":"https://api.github.com/users/cdent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdent/subscriptions","organizations_url":"https://api.github.com/users/cdent/orgs","repos_url":"https://api.github.com/users/cdent/repos","events_url":"https://api.github.com/users/cdent/events{/privacy}","received_events_url":"https://api.github.com/users/cdent/received_events","type":"User","site_admin":false},"body":"An inner fixture is a fixture that runs per test, rather than\r\nper test file. As implemented these fixtures are of the class\r\nfixtures.Fixture from the python package 'fixtures'.\r\n\r\nThe way in which these are useful is for capturing per-test\r\noutput (stdout, stderr, logs and the like) or otherwise performing\r\nsetUp and cleanUp before and after an individual test. In many\r\ncases this is not something that is needed in a simple gabbi run\r\nbut in some contexts (for example those with many tests in a broadly\r\nconcurrent environment) it can be important to chunkify any stray\r\noutput that the tests produce and lump it with an individual test in\r\na way that doesn't get interleaved with multiple streams of output.\r\n\r\nBy default nothing changes, but if someone uses the inner_fixtures\r\nargument to build_tests and passes some fixtures (the docs will be\r\nupdated in later commits) they will be used.\r\n","created_at":"2016-09-27T16:04:55Z","updated_at":"2016-09-27T16:06:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ed54e69ec310bbeb9b52427402f11173c577eda8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/cdent/gabbi/pulls/175/commits","review_comments_url":"https://api.github.com/repos/cdent/gabbi/pulls/175/comments","review_comment_url":"https://api.github.com/repos/cdent/gabbi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cdent/gabbi/issues/175/comments","statuses_url":"https://api.github.com/repos/cdent/gabbi/statuses/a7d18c7983d714f23c216adc29728bea54ca7e4d","head":{"label":"cdent:inner-fixtures","ref":"inner-fixtures","sha":"a7d18c7983d714f23c216adc29728bea54ca7e4d","user":{"login":"cdent","id":34498,"avatar_url":"https://avatars.githubusercontent.com/u/34498?v=3","gravatar_id":"","url":"https://api.github.com/users/cdent","html_url":"https://github.com/cdent","followers_url":"https://api.github.com/users/cdent/followers","following_url":"https://api.github.com/users/cdent/following{/other_user}","gists_url":"https://api.github.com/users/cdent/gists{/gist_id}","starred_url":"https://api.github.com/users/cdent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdent/subscriptions","organizations_url":"https://api.github.com/users/cdent/orgs","repos_url":"https://api.github.com/users/cdent/repos","events_url":"https://api.github.com/users/cdent/events{/privacy}","received_events_url":"https://api.github.com/users/cdent/received_events","type":"User","site_admin":false},"repo":{"id":27924304,"name":"gabbi","full_name":"cdent/gabbi","owner":{"login":"cdent","id":34498,"avatar_url":"https://avatars.githubusercontent.com/u/34498?v=3","gravatar_id":"","url":"https://api.github.com/users/cdent","html_url":"https://github.com/cdent","followers_url":"https://api.github.com/users/cdent/followers","following_url":"https://api.github.com/users/cdent/following{/other_user}","gists_url":"https://api.github.com/users/cdent/gists{/gist_id}","starred_url":"https://api.github.com/users/cdent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdent/subscriptions","organizations_url":"https://api.github.com/users/cdent/orgs","repos_url":"https://api.github.com/users/cdent/repos","events_url":"https://api.github.com/users/cdent/events{/privacy}","received_events_url":"https://api.github.com/users/cdent/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cdent/gabbi","description":"Declarative HTTP Testing","fork":false,"url":"https://api.github.com/repos/cdent/gabbi","forks_url":"https://api.github.com/repos/cdent/gabbi/forks","keys_url":"https://api.github.com/repos/cdent/gabbi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cdent/gabbi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cdent/gabbi/teams","hooks_url":"https://api.github.com/repos/cdent/gabbi/hooks","issue_events_url":"https://api.github.com/repos/cdent/gabbi/issues/events{/number}","events_url":"https://api.github.com/repos/cdent/gabbi/events","assignees_url":"https://api.github.com/repos/cdent/gabbi/assignees{/user}","branches_url":"https://api.github.com/repos/cdent/gabbi/branches{/branch}","tags_url":"https://api.github.com/repos/cdent/gabbi/tags","blobs_url":"https://api.github.com/repos/cdent/gabbi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cdent/gabbi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cdent/gabbi/git/refs{/sha}","trees_url":"https://api.github.com/repos/cdent/gabbi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cdent/gabbi/statuses/{sha}","languages_url":"https://api.github.com/repos/cdent/gabbi/languages","stargazers_url":"https://api.github.com/repos/cdent/gabbi/stargazers","contributors_url":"https://api.github.com/repos/cdent/gabbi/contributors","subscribers_url":"https://api.github.com/repos/cdent/gabbi/subscribers","subscription_url":"https://api.github.com/repos/cdent/gabbi/subscription","commits_url":"https://api.github.com/repos/cdent/gabbi/commits{/sha}","git_commits_url":"https://api.github.com/repos/cdent/gabbi/git/commits{/sha}","comments_url":"https://api.github.com/repos/cdent/gabbi/comments{/number}","issue_comment_url":"https://api.github.com/repos/cdent/gabbi/issues/comments{/number}","contents_url":"https://api.github.com/repos/cdent/gabbi/contents/{+path}","compare_url":"https://api.github.com/repos/cdent/gabbi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cdent/gabbi/merges","archive_url":"https://api.github.com/repos/cdent/gabbi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cdent/gabbi/downloads","issues_url":"https://api.github.com/repos/cdent/gabbi/issues{/number}","pulls_url":"https://api.github.com/repos/cdent/gabbi/pulls{/number}","milestones_url":"https://api.github.com/repos/cdent/gabbi/milestones{/number}","notifications_url":"https://api.github.com/repos/cdent/gabbi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cdent/gabbi/labels{/name}","releases_url":"https://api.github.com/repos/cdent/gabbi/releases{/id}","deployments_url":"https://api.github.com/repos/cdent/gabbi/deployments","created_at":"2014-12-12T14:46:59Z","updated_at":"2016-09-14T21:58:53Z","pushed_at":"2016-09-27T16:04:55Z","git_url":"git://github.com/cdent/gabbi.git","ssh_url":"git@github.com:cdent/gabbi.git","clone_url":"https://github.com/cdent/gabbi.git","svn_url":"https://github.com/cdent/gabbi","homepage":"http://gabbi.readthedocs.org/","size":765,"stargazers_count":49,"watchers_count":49,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":15,"mirror_url":null,"open_issues_count":22,"forks":15,"open_issues":22,"watchers":49,"default_branch":"master"}},"base":{"label":"cdent:master","ref":"master","sha":"30dc321a90521e26d584112560993b104833eda8","user":{"login":"cdent","id":34498,"avatar_url":"https://avatars.githubusercontent.com/u/34498?v=3","gravatar_id":"","url":"https://api.github.com/users/cdent","html_url":"https://github.com/cdent","followers_url":"https://api.github.com/users/cdent/followers","following_url":"https://api.github.com/users/cdent/following{/other_user}","gists_url":"https://api.github.com/users/cdent/gists{/gist_id}","starred_url":"https://api.github.com/users/cdent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdent/subscriptions","organizations_url":"https://api.github.com/users/cdent/orgs","repos_url":"https://api.github.com/users/cdent/repos","events_url":"https://api.github.com/users/cdent/events{/privacy}","received_events_url":"https://api.github.com/users/cdent/received_events","type":"User","site_admin":false},"repo":{"id":27924304,"name":"gabbi","full_name":"cdent/gabbi","owner":{"login":"cdent","id":34498,"avatar_url":"https://avatars.githubusercontent.com/u/34498?v=3","gravatar_id":"","url":"https://api.github.com/users/cdent","html_url":"https://github.com/cdent","followers_url":"https://api.github.com/users/cdent/followers","following_url":"https://api.github.com/users/cdent/following{/other_user}","gists_url":"https://api.github.com/users/cdent/gists{/gist_id}","starred_url":"https://api.github.com/users/cdent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdent/subscriptions","organizations_url":"https://api.github.com/users/cdent/orgs","repos_url":"https://api.github.com/users/cdent/repos","events_url":"https://api.github.com/users/cdent/events{/privacy}","received_events_url":"https://api.github.com/users/cdent/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cdent/gabbi","description":"Declarative HTTP Testing","fork":false,"url":"https://api.github.com/repos/cdent/gabbi","forks_url":"https://api.github.com/repos/cdent/gabbi/forks","keys_url":"https://api.github.com/repos/cdent/gabbi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cdent/gabbi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cdent/gabbi/teams","hooks_url":"https://api.github.com/repos/cdent/gabbi/hooks","issue_events_url":"https://api.github.com/repos/cdent/gabbi/issues/events{/number}","events_url":"https://api.github.com/repos/cdent/gabbi/events","assignees_url":"https://api.github.com/repos/cdent/gabbi/assignees{/user}","branches_url":"https://api.github.com/repos/cdent/gabbi/branches{/branch}","tags_url":"https://api.github.com/repos/cdent/gabbi/tags","blobs_url":"https://api.github.com/repos/cdent/gabbi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cdent/gabbi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cdent/gabbi/git/refs{/sha}","trees_url":"https://api.github.com/repos/cdent/gabbi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cdent/gabbi/statuses/{sha}","languages_url":"https://api.github.com/repos/cdent/gabbi/languages","stargazers_url":"https://api.github.com/repos/cdent/gabbi/stargazers","contributors_url":"https://api.github.com/repos/cdent/gabbi/contributors","subscribers_url":"https://api.github.com/repos/cdent/gabbi/subscribers","subscription_url":"https://api.github.com/repos/cdent/gabbi/subscription","commits_url":"https://api.github.com/repos/cdent/gabbi/commits{/sha}","git_commits_url":"https://api.github.com/repos/cdent/gabbi/git/commits{/sha}","comments_url":"https://api.github.com/repos/cdent/gabbi/comments{/number}","issue_comment_url":"https://api.github.com/repos/cdent/gabbi/issues/comments{/number}","contents_url":"https://api.github.com/repos/cdent/gabbi/contents/{+path}","compare_url":"https://api.github.com/repos/cdent/gabbi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cdent/gabbi/merges","archive_url":"https://api.github.com/repos/cdent/gabbi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cdent/gabbi/downloads","issues_url":"https://api.github.com/repos/cdent/gabbi/issues{/number}","pulls_url":"https://api.github.com/repos/cdent/gabbi/pulls{/number}","milestones_url":"https://api.github.com/repos/cdent/gabbi/milestones{/number}","notifications_url":"https://api.github.com/repos/cdent/gabbi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cdent/gabbi/labels{/name}","releases_url":"https://api.github.com/repos/cdent/gabbi/releases{/id}","deployments_url":"https://api.github.com/repos/cdent/gabbi/deployments","created_at":"2014-12-12T14:46:59Z","updated_at":"2016-09-14T21:58:53Z","pushed_at":"2016-09-27T16:04:55Z","git_url":"git://github.com/cdent/gabbi.git","ssh_url":"git@github.com:cdent/gabbi.git","clone_url":"https://github.com/cdent/gabbi.git","svn_url":"https://github.com/cdent/gabbi","homepage":"http://gabbi.readthedocs.org/","size":765,"stargazers_count":49,"watchers_count":49,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":15,"mirror_url":null,"open_issues_count":22,"forks":15,"open_issues":22,"watchers":49,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cdent/gabbi/pulls/175"},"html":{"href":"https://github.com/cdent/gabbi/pull/175"},"issue":{"href":"https://api.github.com/repos/cdent/gabbi/issues/175"},"comments":{"href":"https://api.github.com/repos/cdent/gabbi/issues/175/comments"},"review_comments":{"href":"https://api.github.com/repos/cdent/gabbi/pulls/175/comments"},"review_comment":{"href":"https://api.github.com/repos/cdent/gabbi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cdent/gabbi/pulls/175/commits"},"statuses":{"href":"https://api.github.com/repos/cdent/gabbi/statuses/a7d18c7983d714f23c216adc29728bea54ca7e4d"}}}}
{"actor":{"display_login":"FND"}}