{"action":"created","comment":{"url":"https://api.github.com/repos/jlaska/pytest-ansible/pulls/comments/128063117","pull_request_review_id":50708005,"id":128063117,"diff_hunk":"@@ -0,0 +1,22 @@\n+from ansible.inventory import Inventory\n+from pytest_ansible.logger import get_logger\n+from pytest_ansible.host_manager import BaseHostManager\n+from pytest_ansible.module_dispatcher.v1 import ModuleDispatcherV1\n+\n+log = get_logger(__name__)\n+\n+\n+class HostManagerV1(BaseHostManager):\n+\n+    \"\"\"Fixme.\"\"\"\n+\n+    def __init__(self, *args, **kwargs):\n+        super(HostManagerV1, self).__init__(*args, **kwargs)\n+        self._dispatcher = ModuleDispatcherV1\n+\n+    def keys(self):","path":"pytest_ansible/host_manager/v1.py","position":17,"original_position":17,"commit_id":"75d5dac6a583f41dd48a68730552bd8b3d92891e","original_commit_id":"75d5dac6a583f41dd48a68730552bd8b3d92891e","user":{"login":"jladdjr","id":4440360,"avatar_url":"https://avatars3.githubusercontent.com/u/4440360?v=4","gravatar_id":"","url":"https://api.github.com/users/jladdjr","html_url":"https://github.com/jladdjr","followers_url":"https://api.github.com/users/jladdjr/followers","following_url":"https://api.github.com/users/jladdjr/following{/other_user}","gists_url":"https://api.github.com/users/jladdjr/gists{/gist_id}","starred_url":"https://api.github.com/users/jladdjr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jladdjr/subscriptions","organizations_url":"https://api.github.com/users/jladdjr/orgs","repos_url":"https://api.github.com/users/jladdjr/repos","events_url":"https://api.github.com/users/jladdjr/events{/privacy}","received_events_url":"https://api.github.com/users/jladdjr/received_events","type":"User","site_admin":false},"body":"Should inherit this from the parent class","created_at":"2017-07-18T18:51:36Z","updated_at":"2017-07-18T18:51:36Z","html_url":"https://github.com/jlaska/pytest-ansible/pull/12#discussion_r128063117","pull_request_url":"https://api.github.com/repos/jlaska/pytest-ansible/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/jlaska/pytest-ansible/pulls/comments/128063117"},"html":{"href":"https://github.com/jlaska/pytest-ansible/pull/12#discussion_r128063117"},"pull_request":{"href":"https://api.github.com/repos/jlaska/pytest-ansible/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/jlaska/pytest-ansible/pulls/12","id":130598083,"html_url":"https://github.com/jlaska/pytest-ansible/pull/12","diff_url":"https://github.com/jlaska/pytest-ansible/pull/12.diff","patch_url":"https://github.com/jlaska/pytest-ansible/pull/12.patch","issue_url":"https://api.github.com/repos/jlaska/pytest-ansible/issues/12","number":12,"state":"open","locked":false,"title":"Add ansible_adhoc fixture to improve access to ansible inventory from within a test","user":{"login":"jlaska","id":1051173,"avatar_url":"https://avatars2.githubusercontent.com/u/1051173?v=4","gravatar_id":"","url":"https://api.github.com/users/jlaska","html_url":"https://github.com/jlaska","followers_url":"https://api.github.com/users/jlaska/followers","following_url":"https://api.github.com/users/jlaska/following{/other_user}","gists_url":"https://api.github.com/users/jlaska/gists{/gist_id}","starred_url":"https://api.github.com/users/jlaska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlaska/subscriptions","organizations_url":"https://api.github.com/users/jlaska/orgs","repos_url":"https://api.github.com/users/jlaska/repos","events_url":"https://api.github.com/users/jlaska/events{/privacy}","received_events_url":"https://api.github.com/users/jlaska/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-07-14T14:12:45Z","updated_at":"2017-07-18T18:51:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5735785b0681e4b28ea2e66ff07c641bb4b39f12","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/jlaska/pytest-ansible/pulls/12/commits","review_comments_url":"https://api.github.com/repos/jlaska/pytest-ansible/pulls/12/comments","review_comment_url":"https://api.github.com/repos/jlaska/pytest-ansible/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jlaska/pytest-ansible/issues/12/comments","statuses_url":"https://api.github.com/repos/jlaska/pytest-ansible/statuses/75d5dac6a583f41dd48a68730552bd8b3d92891e","head":{"label":"jlaska:host_manager","ref":"host_manager","sha":"75d5dac6a583f41dd48a68730552bd8b3d92891e","user":{"login":"jlaska","id":1051173,"avatar_url":"https://avatars2.githubusercontent.com/u/1051173?v=4","gravatar_id":"","url":"https://api.github.com/users/jlaska","html_url":"https://github.com/jlaska","followers_url":"https://api.github.com/users/jlaska/followers","following_url":"https://api.github.com/users/jlaska/following{/other_user}","gists_url":"https://api.github.com/users/jlaska/gists{/gist_id}","starred_url":"https://api.github.com/users/jlaska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlaska/subscriptions","organizations_url":"https://api.github.com/users/jlaska/orgs","repos_url":"https://api.github.com/users/jlaska/repos","events_url":"https://api.github.com/users/jlaska/events{/privacy}","received_events_url":"https://api.github.com/users/jlaska/received_events","type":"User","site_admin":false},"repo":{"id":22257261,"name":"pytest-ansible","full_name":"jlaska/pytest-ansible","owner":{"login":"jlaska","id":1051173,"avatar_url":"https://avatars2.githubusercontent.com/u/1051173?v=4","gravatar_id":"","url":"https://api.github.com/users/jlaska","html_url":"https://github.com/jlaska","followers_url":"https://api.github.com/users/jlaska/followers","following_url":"https://api.github.com/users/jlaska/following{/other_user}","gists_url":"https://api.github.com/users/jlaska/gists{/gist_id}","starred_url":"https://api.github.com/users/jlaska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlaska/subscriptions","organizations_url":"https://api.github.com/users/jlaska/orgs","repos_url":"https://api.github.com/users/jlaska/repos","events_url":"https://api.github.com/users/jlaska/events{/privacy}","received_events_url":"https://api.github.com/users/jlaska/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jlaska/pytest-ansible","description":"A pytest plugin that enables the use of ansible","fork":false,"url":"https://api.github.com/repos/jlaska/pytest-ansible","forks_url":"https://api.github.com/repos/jlaska/pytest-ansible/forks","keys_url":"https://api.github.com/repos/jlaska/pytest-ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jlaska/pytest-ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jlaska/pytest-ansible/teams","hooks_url":"https://api.github.com/repos/jlaska/pytest-ansible/hooks","issue_events_url":"https://api.github.com/repos/jlaska/pytest-ansible/issues/events{/number}","events_url":"https://api.github.com/repos/jlaska/pytest-ansible/events","assignees_url":"https://api.github.com/repos/jlaska/pytest-ansible/assignees{/user}","branches_url":"https://api.github.com/repos/jlaska/pytest-ansible/branches{/branch}","tags_url":"https://api.github.com/repos/jlaska/pytest-ansible/tags","blobs_url":"https://api.github.com/repos/jlaska/pytest-ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jlaska/pytest-ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jlaska/pytest-ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/jlaska/pytest-ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jlaska/pytest-ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/jlaska/pytest-ansible/languages","stargazers_url":"https://api.github.com/repos/jlaska/pytest-ansible/stargazers","contributors_url":"https://api.github.com/repos/jlaska/pytest-ansible/contributors","subscribers_url":"https://api.github.com/repos/jlaska/pytest-ansible/subscribers","subscription_url":"https://api.github.com/repos/jlaska/pytest-ansible/subscription","commits_url":"https://api.github.com/repos/jlaska/pytest-ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/jlaska/pytest-ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/jlaska/pytest-ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/jlaska/pytest-ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/jlaska/pytest-ansible/contents/{+path}","compare_url":"https://api.github.com/repos/jlaska/pytest-ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jlaska/pytest-ansible/merges","archive_url":"https://api.github.com/repos/jlaska/pytest-ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jlaska/pytest-ansible/downloads","issues_url":"https://api.github.com/repos/jlaska/pytest-ansible/issues{/number}","pulls_url":"https://api.github.com/repos/jlaska/pytest-ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/jlaska/pytest-ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/jlaska/pytest-ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jlaska/pytest-ansible/labels{/name}","releases_url":"https://api.github.com/repos/jlaska/pytest-ansible/releases{/id}","deployments_url":"https://api.github.com/repos/jlaska/pytest-ansible/deployments","created_at":"2014-07-25T13:10:48Z","updated_at":"2017-05-24T11:57:42Z","pushed_at":"2017-07-18T17:47:32Z","git_url":"git://github.com/jlaska/pytest-ansible.git","ssh_url":"git@github.com:jlaska/pytest-ansible.git","clone_url":"https://github.com/jlaska/pytest-ansible.git","svn_url":"https://github.com/jlaska/pytest-ansible","homepage":null,"size":218,"stargazers_count":33,"watchers_count":33,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":5,"forks":12,"open_issues":5,"watchers":33,"default_branch":"master"}},"base":{"label":"jlaska:master","ref":"master","sha":"4e204cb630a4c8df1ca7152bf0246cfc46bd4b4b","user":{"login":"jlaska","id":1051173,"avatar_url":"https://avatars2.githubusercontent.com/u/1051173?v=4","gravatar_id":"","url":"https://api.github.com/users/jlaska","html_url":"https://github.com/jlaska","followers_url":"https://api.github.com/users/jlaska/followers","following_url":"https://api.github.com/users/jlaska/following{/other_user}","gists_url":"https://api.github.com/users/jlaska/gists{/gist_id}","starred_url":"https://api.github.com/users/jlaska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlaska/subscriptions","organizations_url":"https://api.github.com/users/jlaska/orgs","repos_url":"https://api.github.com/users/jlaska/repos","events_url":"https://api.github.com/users/jlaska/events{/privacy}","received_events_url":"https://api.github.com/users/jlaska/received_events","type":"User","site_admin":false},"repo":{"id":22257261,"name":"pytest-ansible","full_name":"jlaska/pytest-ansible","owner":{"login":"jlaska","id":1051173,"avatar_url":"https://avatars2.githubusercontent.com/u/1051173?v=4","gravatar_id":"","url":"https://api.github.com/users/jlaska","html_url":"https://github.com/jlaska","followers_url":"https://api.github.com/users/jlaska/followers","following_url":"https://api.github.com/users/jlaska/following{/other_user}","gists_url":"https://api.github.com/users/jlaska/gists{/gist_id}","starred_url":"https://api.github.com/users/jlaska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlaska/subscriptions","organizations_url":"https://api.github.com/users/jlaska/orgs","repos_url":"https://api.github.com/users/jlaska/repos","events_url":"https://api.github.com/users/jlaska/events{/privacy}","received_events_url":"https://api.github.com/users/jlaska/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jlaska/pytest-ansible","description":"A pytest plugin that enables the use of ansible","fork":false,"url":"https://api.github.com/repos/jlaska/pytest-ansible","forks_url":"https://api.github.com/repos/jlaska/pytest-ansible/forks","keys_url":"https://api.github.com/repos/jlaska/pytest-ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jlaska/pytest-ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jlaska/pytest-ansible/teams","hooks_url":"https://api.github.com/repos/jlaska/pytest-ansible/hooks","issue_events_url":"https://api.github.com/repos/jlaska/pytest-ansible/issues/events{/number}","events_url":"https://api.github.com/repos/jlaska/pytest-ansible/events","assignees_url":"https://api.github.com/repos/jlaska/pytest-ansible/assignees{/user}","branches_url":"https://api.github.com/repos/jlaska/pytest-ansible/branches{/branch}","tags_url":"https://api.github.com/repos/jlaska/pytest-ansible/tags","blobs_url":"https://api.github.com/repos/jlaska/pytest-ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jlaska/pytest-ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jlaska/pytest-ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/jlaska/pytest-ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jlaska/pytest-ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/jlaska/pytest-ansible/languages","stargazers_url":"https://api.github.com/repos/jlaska/pytest-ansible/stargazers","contributors_url":"https://api.github.com/repos/jlaska/pytest-ansible/contributors","subscribers_url":"https://api.github.com/repos/jlaska/pytest-ansible/subscribers","subscription_url":"https://api.github.com/repos/jlaska/pytest-ansible/subscription","commits_url":"https://api.github.com/repos/jlaska/pytest-ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/jlaska/pytest-ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/jlaska/pytest-ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/jlaska/pytest-ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/jlaska/pytest-ansible/contents/{+path}","compare_url":"https://api.github.com/repos/jlaska/pytest-ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jlaska/pytest-ansible/merges","archive_url":"https://api.github.com/repos/jlaska/pytest-ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jlaska/pytest-ansible/downloads","issues_url":"https://api.github.com/repos/jlaska/pytest-ansible/issues{/number}","pulls_url":"https://api.github.com/repos/jlaska/pytest-ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/jlaska/pytest-ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/jlaska/pytest-ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jlaska/pytest-ansible/labels{/name}","releases_url":"https://api.github.com/repos/jlaska/pytest-ansible/releases{/id}","deployments_url":"https://api.github.com/repos/jlaska/pytest-ansible/deployments","created_at":"2014-07-25T13:10:48Z","updated_at":"2017-05-24T11:57:42Z","pushed_at":"2017-07-18T17:47:32Z","git_url":"git://github.com/jlaska/pytest-ansible.git","ssh_url":"git@github.com:jlaska/pytest-ansible.git","clone_url":"https://github.com/jlaska/pytest-ansible.git","svn_url":"https://github.com/jlaska/pytest-ansible","homepage":null,"size":218,"stargazers_count":33,"watchers_count":33,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":5,"forks":12,"open_issues":5,"watchers":33,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jlaska/pytest-ansible/pulls/12"},"html":{"href":"https://github.com/jlaska/pytest-ansible/pull/12"},"issue":{"href":"https://api.github.com/repos/jlaska/pytest-ansible/issues/12"},"comments":{"href":"https://api.github.com/repos/jlaska/pytest-ansible/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/jlaska/pytest-ansible/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/jlaska/pytest-ansible/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jlaska/pytest-ansible/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/jlaska/pytest-ansible/statuses/75d5dac6a583f41dd48a68730552bd8b3d92891e"}}}}
{"actor":{"display_login":"jladdjr"}}