{"action":"created","comment":{"url":"https://api.github.com/repos/latchset/custodia/pulls/comments/78188870","id":78188870,"diff_hunk":"@@ -1,9 +1,31 @@\n # Copyright (C) 2016  Custodia Project Contributors - see LICENSE file\n import warnings\n \n+import pytest\n+\n from custodia.log import ProvisionalWarning\n \n # silence our own warnings about provisional APIs\n warnings.simplefilter('ignore', category=ProvisionalWarning)\n # deprecated APIs raise an exception\n warnings.simplefilter('error', category=DeprecationWarning)\n+\n+\n+SKIP_INTEGRATION = \"--skip-servertests\"\n+\n+\n+def pytest_addoption(parser):\n+    parser.addoption(\n+        SKIP_INTEGRATION,\n+        action=\"store_true\",\n+        help=\"Skip integration tests\"\n+    )\n+\n+\n+def pytest_runtest_setup(item):\n+    skip = item.config.getoption(SKIP_INTEGRATION)","path":"tests/conftest.py","position":26,"original_position":26,"commit_id":"c168b365daa26543b4127eff6e4fb648b80df074","original_commit_id":"c168b365daa26543b4127eff6e4fb648b80df074","user":{"login":"simo5","id":8332609,"avatar_url":"https://avatars.githubusercontent.com/u/8332609?v=3","gravatar_id":"","url":"https://api.github.com/users/simo5","html_url":"https://github.com/simo5","followers_url":"https://api.github.com/users/simo5/followers","following_url":"https://api.github.com/users/simo5/following{/other_user}","gists_url":"https://api.github.com/users/simo5/gists{/gist_id}","starred_url":"https://api.github.com/users/simo5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simo5/subscriptions","organizations_url":"https://api.github.com/users/simo5/orgs","repos_url":"https://api.github.com/users/simo5/repos","events_url":"https://api.github.com/users/simo5/events{/privacy}","received_events_url":"https://api.github.com/users/simo5/received_events","type":"User","site_admin":false},"body":"skip -> mark_skip please","created_at":"2016-09-09T14:24:46Z","updated_at":"2016-09-09T14:24:46Z","html_url":"https://github.com/latchset/custodia/pull/74#discussion_r78188870","pull_request_url":"https://api.github.com/repos/latchset/custodia/pulls/74","_links":{"self":{"href":"https://api.github.com/repos/latchset/custodia/pulls/comments/78188870"},"html":{"href":"https://github.com/latchset/custodia/pull/74#discussion_r78188870"},"pull_request":{"href":"https://api.github.com/repos/latchset/custodia/pulls/74"}}},"pull_request":{"url":"https://api.github.com/repos/latchset/custodia/pulls/74","id":84645914,"html_url":"https://github.com/latchset/custodia/pull/74","diff_url":"https://github.com/latchset/custodia/pull/74.diff","patch_url":"https://github.com/latchset/custodia/pull/74.patch","issue_url":"https://api.github.com/repos/latchset/custodia/issues/74","number":74,"state":"open","locked":false,"title":"Add --skip-servertests option","user":{"login":"tiran","id":444071,"avatar_url":"https://avatars.githubusercontent.com/u/444071?v=3","gravatar_id":"","url":"https://api.github.com/users/tiran","html_url":"https://github.com/tiran","followers_url":"https://api.github.com/users/tiran/followers","following_url":"https://api.github.com/users/tiran/following{/other_user}","gists_url":"https://api.github.com/users/tiran/gists{/gist_id}","starred_url":"https://api.github.com/users/tiran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiran/subscriptions","organizations_url":"https://api.github.com/users/tiran/orgs","repos_url":"https://api.github.com/users/tiran/repos","events_url":"https://api.github.com/users/tiran/events{/privacy}","received_events_url":"https://api.github.com/users/tiran/received_events","type":"User","site_admin":false},"body":"A new options makes it possible to run only unit test and skip\r\nintegration tests. tox -- --skip-servertests skip all integration tests\r\nthat spawn a Custodia server instance.\r\n\r\nCloses: #72\r\nSigned-off-by: Christian Heimes <cheimes@redhat.com>","created_at":"2016-09-09T12:55:44Z","updated_at":"2016-09-09T14:24:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"96f516d4a24b8023d1b2d33633149f6c533261b7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/latchset/custodia/pulls/74/commits","review_comments_url":"https://api.github.com/repos/latchset/custodia/pulls/74/comments","review_comment_url":"https://api.github.com/repos/latchset/custodia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/latchset/custodia/issues/74/comments","statuses_url":"https://api.github.com/repos/latchset/custodia/statuses/c168b365daa26543b4127eff6e4fb648b80df074","head":{"label":"tiran:skip_servertests","ref":"skip_servertests","sha":"c168b365daa26543b4127eff6e4fb648b80df074","user":{"login":"tiran","id":444071,"avatar_url":"https://avatars.githubusercontent.com/u/444071?v=3","gravatar_id":"","url":"https://api.github.com/users/tiran","html_url":"https://github.com/tiran","followers_url":"https://api.github.com/users/tiran/followers","following_url":"https://api.github.com/users/tiran/following{/other_user}","gists_url":"https://api.github.com/users/tiran/gists{/gist_id}","starred_url":"https://api.github.com/users/tiran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiran/subscriptions","organizations_url":"https://api.github.com/users/tiran/orgs","repos_url":"https://api.github.com/users/tiran/repos","events_url":"https://api.github.com/users/tiran/events{/privacy}","received_events_url":"https://api.github.com/users/tiran/received_events","type":"User","site_admin":false},"repo":{"id":38678584,"name":"custodia","full_name":"tiran/custodia","owner":{"login":"tiran","id":444071,"avatar_url":"https://avatars.githubusercontent.com/u/444071?v=3","gravatar_id":"","url":"https://api.github.com/users/tiran","html_url":"https://github.com/tiran","followers_url":"https://api.github.com/users/tiran/followers","following_url":"https://api.github.com/users/tiran/following{/other_user}","gists_url":"https://api.github.com/users/tiran/gists{/gist_id}","starred_url":"https://api.github.com/users/tiran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiran/subscriptions","organizations_url":"https://api.github.com/users/tiran/orgs","repos_url":"https://api.github.com/users/tiran/repos","events_url":"https://api.github.com/users/tiran/events{/privacy}","received_events_url":"https://api.github.com/users/tiran/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tiran/custodia","description":"A service to manage, retrieve and store secrets","fork":true,"url":"https://api.github.com/repos/tiran/custodia","forks_url":"https://api.github.com/repos/tiran/custodia/forks","keys_url":"https://api.github.com/repos/tiran/custodia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tiran/custodia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tiran/custodia/teams","hooks_url":"https://api.github.com/repos/tiran/custodia/hooks","issue_events_url":"https://api.github.com/repos/tiran/custodia/issues/events{/number}","events_url":"https://api.github.com/repos/tiran/custodia/events","assignees_url":"https://api.github.com/repos/tiran/custodia/assignees{/user}","branches_url":"https://api.github.com/repos/tiran/custodia/branches{/branch}","tags_url":"https://api.github.com/repos/tiran/custodia/tags","blobs_url":"https://api.github.com/repos/tiran/custodia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tiran/custodia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tiran/custodia/git/refs{/sha}","trees_url":"https://api.github.com/repos/tiran/custodia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tiran/custodia/statuses/{sha}","languages_url":"https://api.github.com/repos/tiran/custodia/languages","stargazers_url":"https://api.github.com/repos/tiran/custodia/stargazers","contributors_url":"https://api.github.com/repos/tiran/custodia/contributors","subscribers_url":"https://api.github.com/repos/tiran/custodia/subscribers","subscription_url":"https://api.github.com/repos/tiran/custodia/subscription","commits_url":"https://api.github.com/repos/tiran/custodia/commits{/sha}","git_commits_url":"https://api.github.com/repos/tiran/custodia/git/commits{/sha}","comments_url":"https://api.github.com/repos/tiran/custodia/comments{/number}","issue_comment_url":"https://api.github.com/repos/tiran/custodia/issues/comments{/number}","contents_url":"https://api.github.com/repos/tiran/custodia/contents/{+path}","compare_url":"https://api.github.com/repos/tiran/custodia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tiran/custodia/merges","archive_url":"https://api.github.com/repos/tiran/custodia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tiran/custodia/downloads","issues_url":"https://api.github.com/repos/tiran/custodia/issues{/number}","pulls_url":"https://api.github.com/repos/tiran/custodia/pulls{/number}","milestones_url":"https://api.github.com/repos/tiran/custodia/milestones{/number}","notifications_url":"https://api.github.com/repos/tiran/custodia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tiran/custodia/labels{/name}","releases_url":"https://api.github.com/repos/tiran/custodia/releases{/id}","deployments_url":"https://api.github.com/repos/tiran/custodia/deployments","created_at":"2015-07-07T09:45:01Z","updated_at":"2016-01-19T15:43:23Z","pushed_at":"2016-09-09T14:03:56Z","git_url":"git://github.com/tiran/custodia.git","ssh_url":"git@github.com:tiran/custodia.git","clone_url":"https://github.com/tiran/custodia.git","svn_url":"https://github.com/tiran/custodia","homepage":"","size":327,"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":"latchset:master","ref":"master","sha":"bcd21f27f1958577a32c9297230332fb5a98b31e","user":{"login":"latchset","id":17146082,"avatar_url":"https://avatars.githubusercontent.com/u/17146082?v=3","gravatar_id":"","url":"https://api.github.com/users/latchset","html_url":"https://github.com/latchset","followers_url":"https://api.github.com/users/latchset/followers","following_url":"https://api.github.com/users/latchset/following{/other_user}","gists_url":"https://api.github.com/users/latchset/gists{/gist_id}","starred_url":"https://api.github.com/users/latchset/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/latchset/subscriptions","organizations_url":"https://api.github.com/users/latchset/orgs","repos_url":"https://api.github.com/users/latchset/repos","events_url":"https://api.github.com/users/latchset/events{/privacy}","received_events_url":"https://api.github.com/users/latchset/received_events","type":"Organization","site_admin":false},"repo":{"id":31661898,"name":"custodia","full_name":"latchset/custodia","owner":{"login":"latchset","id":17146082,"avatar_url":"https://avatars.githubusercontent.com/u/17146082?v=3","gravatar_id":"","url":"https://api.github.com/users/latchset","html_url":"https://github.com/latchset","followers_url":"https://api.github.com/users/latchset/followers","following_url":"https://api.github.com/users/latchset/following{/other_user}","gists_url":"https://api.github.com/users/latchset/gists{/gist_id}","starred_url":"https://api.github.com/users/latchset/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/latchset/subscriptions","organizations_url":"https://api.github.com/users/latchset/orgs","repos_url":"https://api.github.com/users/latchset/repos","events_url":"https://api.github.com/users/latchset/events{/privacy}","received_events_url":"https://api.github.com/users/latchset/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/latchset/custodia","description":"A service to manage, retrieve and store secrets","fork":false,"url":"https://api.github.com/repos/latchset/custodia","forks_url":"https://api.github.com/repos/latchset/custodia/forks","keys_url":"https://api.github.com/repos/latchset/custodia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/latchset/custodia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/latchset/custodia/teams","hooks_url":"https://api.github.com/repos/latchset/custodia/hooks","issue_events_url":"https://api.github.com/repos/latchset/custodia/issues/events{/number}","events_url":"https://api.github.com/repos/latchset/custodia/events","assignees_url":"https://api.github.com/repos/latchset/custodia/assignees{/user}","branches_url":"https://api.github.com/repos/latchset/custodia/branches{/branch}","tags_url":"https://api.github.com/repos/latchset/custodia/tags","blobs_url":"https://api.github.com/repos/latchset/custodia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/latchset/custodia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/latchset/custodia/git/refs{/sha}","trees_url":"https://api.github.com/repos/latchset/custodia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/latchset/custodia/statuses/{sha}","languages_url":"https://api.github.com/repos/latchset/custodia/languages","stargazers_url":"https://api.github.com/repos/latchset/custodia/stargazers","contributors_url":"https://api.github.com/repos/latchset/custodia/contributors","subscribers_url":"https://api.github.com/repos/latchset/custodia/subscribers","subscription_url":"https://api.github.com/repos/latchset/custodia/subscription","commits_url":"https://api.github.com/repos/latchset/custodia/commits{/sha}","git_commits_url":"https://api.github.com/repos/latchset/custodia/git/commits{/sha}","comments_url":"https://api.github.com/repos/latchset/custodia/comments{/number}","issue_comment_url":"https://api.github.com/repos/latchset/custodia/issues/comments{/number}","contents_url":"https://api.github.com/repos/latchset/custodia/contents/{+path}","compare_url":"https://api.github.com/repos/latchset/custodia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/latchset/custodia/merges","archive_url":"https://api.github.com/repos/latchset/custodia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/latchset/custodia/downloads","issues_url":"https://api.github.com/repos/latchset/custodia/issues{/number}","pulls_url":"https://api.github.com/repos/latchset/custodia/pulls{/number}","milestones_url":"https://api.github.com/repos/latchset/custodia/milestones{/number}","notifications_url":"https://api.github.com/repos/latchset/custodia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/latchset/custodia/labels{/name}","releases_url":"https://api.github.com/repos/latchset/custodia/releases{/id}","deployments_url":"https://api.github.com/repos/latchset/custodia/deployments","created_at":"2015-03-04T14:45:03Z","updated_at":"2016-08-31T08:33:49Z","pushed_at":"2016-09-09T14:19:35Z","git_url":"git://github.com/latchset/custodia.git","ssh_url":"git@github.com:latchset/custodia.git","clone_url":"https://github.com/latchset/custodia.git","svn_url":"https://github.com/latchset/custodia","homepage":"","size":311,"stargazers_count":15,"watchers_count":15,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":21,"forks":8,"open_issues":21,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/latchset/custodia/pulls/74"},"html":{"href":"https://github.com/latchset/custodia/pull/74"},"issue":{"href":"https://api.github.com/repos/latchset/custodia/issues/74"},"comments":{"href":"https://api.github.com/repos/latchset/custodia/issues/74/comments"},"review_comments":{"href":"https://api.github.com/repos/latchset/custodia/pulls/74/comments"},"review_comment":{"href":"https://api.github.com/repos/latchset/custodia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/latchset/custodia/pulls/74/commits"},"statuses":{"href":"https://api.github.com/repos/latchset/custodia/statuses/c168b365daa26543b4127eff6e4fb648b80df074"}}}}
{"actor":{"display_login":"simo5"}}