{"action":"created","comment":{"url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/pulls/comments/70940945","id":70940945,"diff_hunk":"@@ -21,3 +23,35 @@ def test_elasticsarch(elasticsearch):\n def test_random_port(elasticsearch_random):\n     \"\"\"Test if elasticsearch fixture can be started on random port.\"\"\"\n     assert elasticsearch_random.info()['status'] == 200\n+\n+\n+@patch('pytest_elasticsearch.plugin.pytest.config')\n+def test_ini_option_configuration(config):\n+    \"\"\"Test if ini and option configuration works.\"\"\"\n+    config.getoption.return_value = None\n+    config.getini.return_value = '/tmp'\n+\n+    assert '/tmp' == plugin.elasticsearch_config()\n+\n+    config.getoption.return_value = '/tmp'\n+\n+    assert '/tmp' == plugin.elasticsearch_config()\n+\n+elasticsearch_proc_args = factories.elasticsearch_proc(\n+    port='?', elasticsearch_logsdir='/tmp')\n+elasticsearch_args = factories.elasticsearch('elasticsearch_proc_args')\n+\n+\n+@patch('pytest_elasticsearch.plugin.pytest.config')\n+def test_fixture_arg_is_first(\n+        config, elasticsearch_args,","path":"tests/test_elastic.py","position":35,"original_position":35,"commit_id":"cb34283d5ba7154c6dbf90f78afe82f299911533","original_commit_id":"cb34283d5ba7154c6dbf90f78afe82f299911533","user":{"login":"fizyk","id":229393,"avatar_url":"https://avatars.githubusercontent.com/u/229393?v=3","gravatar_id":"","url":"https://api.github.com/users/fizyk","html_url":"https://github.com/fizyk","followers_url":"https://api.github.com/users/fizyk/followers","following_url":"https://api.github.com/users/fizyk/following{/other_user}","gists_url":"https://api.github.com/users/fizyk/gists{/gist_id}","starred_url":"https://api.github.com/users/fizyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fizyk/subscriptions","organizations_url":"https://api.github.com/users/fizyk/orgs","repos_url":"https://api.github.com/users/fizyk/repos","events_url":"https://api.github.com/users/fizyk/events{/privacy}","received_events_url":"https://api.github.com/users/fizyk/received_events","type":"User","site_admin":false},"body":"do you need client fixture in here?","created_at":"2016-07-15T08:53:21Z","updated_at":"2016-07-15T08:53:21Z","html_url":"https://github.com/ClearcodeHQ/pytest-elasticsearch/pull/5#discussion_r70940945","pull_request_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/pulls/comments/70940945"},"html":{"href":"https://github.com/ClearcodeHQ/pytest-elasticsearch/pull/5#discussion_r70940945"},"pull_request":{"href":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/pulls/5","id":76561979,"html_url":"https://github.com/ClearcodeHQ/pytest-elasticsearch/pull/5","diff_url":"https://github.com/ClearcodeHQ/pytest-elasticsearch/pull/5.diff","patch_url":"https://github.com/ClearcodeHQ/pytest-elasticsearch/pull/5.patch","issue_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/issues/5","number":5,"state":"open","locked":false,"title":"Add pytest.ini configuration for elasticsearch_logsdir","user":{"login":"kblumke","id":4884302,"avatar_url":"https://avatars.githubusercontent.com/u/4884302?v=3","gravatar_id":"","url":"https://api.github.com/users/kblumke","html_url":"https://github.com/kblumke","followers_url":"https://api.github.com/users/kblumke/followers","following_url":"https://api.github.com/users/kblumke/following{/other_user}","gists_url":"https://api.github.com/users/kblumke/gists{/gist_id}","starred_url":"https://api.github.com/users/kblumke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kblumke/subscriptions","organizations_url":"https://api.github.com/users/kblumke/orgs","repos_url":"https://api.github.com/users/kblumke/repos","events_url":"https://api.github.com/users/kblumke/events{/privacy}","received_events_url":"https://api.github.com/users/kblumke/received_events","type":"User","site_admin":false},"body":"Fixes #[ISSUE_NUMBER_HERE].\r\n\r\nChanges proposed.\r\n","created_at":"2016-07-07T09:09:11Z","updated_at":"2016-07-15T08:53:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6ee4e0f7e0a5ca78aeee4f3f0e77fe4a8bb19ae5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/pulls/5/commits","review_comments_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/pulls/5/comments","review_comment_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/issues/5/comments","statuses_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/statuses/cb34283d5ba7154c6dbf90f78afe82f299911533","head":{"label":"kblumke:kb","ref":"kb","sha":"cb34283d5ba7154c6dbf90f78afe82f299911533","user":{"login":"kblumke","id":4884302,"avatar_url":"https://avatars.githubusercontent.com/u/4884302?v=3","gravatar_id":"","url":"https://api.github.com/users/kblumke","html_url":"https://github.com/kblumke","followers_url":"https://api.github.com/users/kblumke/followers","following_url":"https://api.github.com/users/kblumke/following{/other_user}","gists_url":"https://api.github.com/users/kblumke/gists{/gist_id}","starred_url":"https://api.github.com/users/kblumke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kblumke/subscriptions","organizations_url":"https://api.github.com/users/kblumke/orgs","repos_url":"https://api.github.com/users/kblumke/repos","events_url":"https://api.github.com/users/kblumke/events{/privacy}","received_events_url":"https://api.github.com/users/kblumke/received_events","type":"User","site_admin":false},"repo":{"id":62787334,"name":"pytest-elasticsearch","full_name":"kblumke/pytest-elasticsearch","owner":{"login":"kblumke","id":4884302,"avatar_url":"https://avatars.githubusercontent.com/u/4884302?v=3","gravatar_id":"","url":"https://api.github.com/users/kblumke","html_url":"https://github.com/kblumke","followers_url":"https://api.github.com/users/kblumke/followers","following_url":"https://api.github.com/users/kblumke/following{/other_user}","gists_url":"https://api.github.com/users/kblumke/gists{/gist_id}","starred_url":"https://api.github.com/users/kblumke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kblumke/subscriptions","organizations_url":"https://api.github.com/users/kblumke/orgs","repos_url":"https://api.github.com/users/kblumke/repos","events_url":"https://api.github.com/users/kblumke/events{/privacy}","received_events_url":"https://api.github.com/users/kblumke/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kblumke/pytest-elasticsearch","description":null,"fork":true,"url":"https://api.github.com/repos/kblumke/pytest-elasticsearch","forks_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/forks","keys_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/teams","hooks_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/hooks","issue_events_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/issues/events{/number}","events_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/events","assignees_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/assignees{/user}","branches_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/branches{/branch}","tags_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/tags","blobs_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/git/refs{/sha}","trees_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/statuses/{sha}","languages_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/languages","stargazers_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/stargazers","contributors_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/contributors","subscribers_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/subscribers","subscription_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/subscription","commits_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/commits{/sha}","git_commits_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/git/commits{/sha}","comments_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/comments{/number}","issue_comment_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/issues/comments{/number}","contents_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/contents/{+path}","compare_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/merges","archive_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/downloads","issues_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/issues{/number}","pulls_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/pulls{/number}","milestones_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/milestones{/number}","notifications_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/labels{/name}","releases_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/releases{/id}","deployments_url":"https://api.github.com/repos/kblumke/pytest-elasticsearch/deployments","created_at":"2016-07-07T08:04:09Z","updated_at":"2016-07-07T08:04:11Z","pushed_at":"2016-07-14T15:08:42Z","git_url":"git://github.com/kblumke/pytest-elasticsearch.git","ssh_url":"git@github.com:kblumke/pytest-elasticsearch.git","clone_url":"https://github.com/kblumke/pytest-elasticsearch.git","svn_url":"https://github.com/kblumke/pytest-elasticsearch","homepage":null,"size":28,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ClearcodeHQ:master","ref":"master","sha":"3e326c427321ec4f3fc37157e3213a83810f64aa","user":{"login":"ClearcodeHQ","id":3015752,"avatar_url":"https://avatars.githubusercontent.com/u/3015752?v=3","gravatar_id":"","url":"https://api.github.com/users/ClearcodeHQ","html_url":"https://github.com/ClearcodeHQ","followers_url":"https://api.github.com/users/ClearcodeHQ/followers","following_url":"https://api.github.com/users/ClearcodeHQ/following{/other_user}","gists_url":"https://api.github.com/users/ClearcodeHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ClearcodeHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClearcodeHQ/subscriptions","organizations_url":"https://api.github.com/users/ClearcodeHQ/orgs","repos_url":"https://api.github.com/users/ClearcodeHQ/repos","events_url":"https://api.github.com/users/ClearcodeHQ/events{/privacy}","received_events_url":"https://api.github.com/users/ClearcodeHQ/received_events","type":"Organization","site_admin":false},"repo":{"id":62318572,"name":"pytest-elasticsearch","full_name":"ClearcodeHQ/pytest-elasticsearch","owner":{"login":"ClearcodeHQ","id":3015752,"avatar_url":"https://avatars.githubusercontent.com/u/3015752?v=3","gravatar_id":"","url":"https://api.github.com/users/ClearcodeHQ","html_url":"https://github.com/ClearcodeHQ","followers_url":"https://api.github.com/users/ClearcodeHQ/followers","following_url":"https://api.github.com/users/ClearcodeHQ/following{/other_user}","gists_url":"https://api.github.com/users/ClearcodeHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ClearcodeHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClearcodeHQ/subscriptions","organizations_url":"https://api.github.com/users/ClearcodeHQ/orgs","repos_url":"https://api.github.com/users/ClearcodeHQ/repos","events_url":"https://api.github.com/users/ClearcodeHQ/events{/privacy}","received_events_url":"https://api.github.com/users/ClearcodeHQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ClearcodeHQ/pytest-elasticsearch","description":null,"fork":false,"url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch","forks_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/forks","keys_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/teams","hooks_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/hooks","issue_events_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/issues/events{/number}","events_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/events","assignees_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/assignees{/user}","branches_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/branches{/branch}","tags_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/tags","blobs_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/git/refs{/sha}","trees_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/statuses/{sha}","languages_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/languages","stargazers_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/stargazers","contributors_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/contributors","subscribers_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/subscribers","subscription_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/subscription","commits_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/commits{/sha}","git_commits_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/git/commits{/sha}","comments_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/comments{/number}","issue_comment_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/issues/comments{/number}","contents_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/contents/{+path}","compare_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/merges","archive_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/downloads","issues_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/issues{/number}","pulls_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/pulls{/number}","milestones_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/milestones{/number}","notifications_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/labels{/name}","releases_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/releases{/id}","deployments_url":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/deployments","created_at":"2016-06-30T14:46:48Z","updated_at":"2016-06-30T15:06:17Z","pushed_at":"2016-07-14T15:08:42Z","git_url":"git://github.com/ClearcodeHQ/pytest-elasticsearch.git","ssh_url":"git@github.com:ClearcodeHQ/pytest-elasticsearch.git","clone_url":"https://github.com/ClearcodeHQ/pytest-elasticsearch.git","svn_url":"https://github.com/ClearcodeHQ/pytest-elasticsearch","homepage":null,"size":28,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/pulls/5"},"html":{"href":"https://github.com/ClearcodeHQ/pytest-elasticsearch/pull/5"},"issue":{"href":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/issues/5"},"comments":{"href":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/ClearcodeHQ/pytest-elasticsearch/statuses/cb34283d5ba7154c6dbf90f78afe82f299911533"}}}}
{"actor":{"display_login":"fizyk"}}