{"action":"opened","number":1081,"pull_request":{"url":"https://api.github.com/repos/PulpQE/pulp-smash/pulls/1081","id":196209630,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2MjA5NjMw","html_url":"https://github.com/PulpQE/pulp-smash/pull/1081","diff_url":"https://github.com/PulpQE/pulp-smash/pull/1081.diff","patch_url":"https://github.com/PulpQE/pulp-smash/pull/1081.patch","issue_url":"https://api.github.com/repos/PulpQE/pulp-smash/issues/1081","number":1081,"state":"open","locked":false,"title":"Drop unittest from Pulp 2 require_* utils","user":{"login":"Ichimonji10","id":1012989,"node_id":"MDQ6VXNlcjEwMTI5ODk=","avatar_url":"https://avatars2.githubusercontent.com/u/1012989?v=4","gravatar_id":"","url":"https://api.github.com/users/Ichimonji10","html_url":"https://github.com/Ichimonji10","followers_url":"https://api.github.com/users/Ichimonji10/followers","following_url":"https://api.github.com/users/Ichimonji10/following{/other_user}","gists_url":"https://api.github.com/users/Ichimonji10/gists{/gist_id}","starred_url":"https://api.github.com/users/Ichimonji10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ichimonji10/subscriptions","organizations_url":"https://api.github.com/users/Ichimonji10/orgs","repos_url":"https://api.github.com/users/Ichimonji10/repos","events_url":"https://api.github.com/users/Ichimonji10/events{/privacy}","received_events_url":"https://api.github.com/users/Ichimonji10/received_events","type":"User","site_admin":false},"body":"The various `require_*` methods in `pulp_smash.pulp2.utils` are designed\r\nto skip tests under certain circumstances. This is easiest to do if some\r\nassumptions are made about which test runner is being used. For example,\r\nif one assumes that a unittest-compatible test runner is likely to be\r\nused, then it makes sense for the functions to raise\r\n`unittest.SkipTest`.\r\n\r\nHowever, Pulp Smash is being turned into a library that should be\r\ncompatible with other test runners. An effective way to help prevent\r\nbias toward unittest is to avoid any references to unittest within the\r\ncode base. Add an `exc` parameter to the functions, which is the\r\nexception to be instantiated and raised.\r\n\r\nSee: https://github.com/PulpQE/pulp-smash/issues/1033","created_at":"2018-06-20T16:58:01Z","updated_at":"2018-06-20T16:58:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/PulpQE/pulp-smash/pulls/1081/commits","review_comments_url":"https://api.github.com/repos/PulpQE/pulp-smash/pulls/1081/comments","review_comment_url":"https://api.github.com/repos/PulpQE/pulp-smash/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PulpQE/pulp-smash/issues/1081/comments","statuses_url":"https://api.github.com/repos/PulpQE/pulp-smash/statuses/b3b22168d25b209149e42011d2b07a1f215bb22d","head":{"label":"Ichimonji10:pulp-2-requires","ref":"pulp-2-requires","sha":"b3b22168d25b209149e42011d2b07a1f215bb22d","user":{"login":"Ichimonji10","id":1012989,"node_id":"MDQ6VXNlcjEwMTI5ODk=","avatar_url":"https://avatars2.githubusercontent.com/u/1012989?v=4","gravatar_id":"","url":"https://api.github.com/users/Ichimonji10","html_url":"https://github.com/Ichimonji10","followers_url":"https://api.github.com/users/Ichimonji10/followers","following_url":"https://api.github.com/users/Ichimonji10/following{/other_user}","gists_url":"https://api.github.com/users/Ichimonji10/gists{/gist_id}","starred_url":"https://api.github.com/users/Ichimonji10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ichimonji10/subscriptions","organizations_url":"https://api.github.com/users/Ichimonji10/orgs","repos_url":"https://api.github.com/users/Ichimonji10/repos","events_url":"https://api.github.com/users/Ichimonji10/events{/privacy}","received_events_url":"https://api.github.com/users/Ichimonji10/received_events","type":"User","site_admin":false},"repo":{"id":44113664,"node_id":"MDEwOlJlcG9zaXRvcnk0NDExMzY2NA==","name":"pulp-smash","full_name":"Ichimonji10/pulp-smash","owner":{"login":"Ichimonji10","id":1012989,"node_id":"MDQ6VXNlcjEwMTI5ODk=","avatar_url":"https://avatars2.githubusercontent.com/u/1012989?v=4","gravatar_id":"","url":"https://api.github.com/users/Ichimonji10","html_url":"https://github.com/Ichimonji10","followers_url":"https://api.github.com/users/Ichimonji10/followers","following_url":"https://api.github.com/users/Ichimonji10/following{/other_user}","gists_url":"https://api.github.com/users/Ichimonji10/gists{/gist_id}","starred_url":"https://api.github.com/users/Ichimonji10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ichimonji10/subscriptions","organizations_url":"https://api.github.com/users/Ichimonji10/orgs","repos_url":"https://api.github.com/users/Ichimonji10/repos","events_url":"https://api.github.com/users/Ichimonji10/events{/privacy}","received_events_url":"https://api.github.com/users/Ichimonji10/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Ichimonji10/pulp-smash","description":"A GPL-licensed Python library that facilitates easy testing of Pulp.","fork":true,"url":"https://api.github.com/repos/Ichimonji10/pulp-smash","forks_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/forks","keys_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/teams","hooks_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/hooks","issue_events_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/issues/events{/number}","events_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/events","assignees_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/assignees{/user}","branches_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/branches{/branch}","tags_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/tags","blobs_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/statuses/{sha}","languages_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/languages","stargazers_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/stargazers","contributors_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/contributors","subscribers_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/subscribers","subscription_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/subscription","commits_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/contents/{+path}","compare_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/merges","archive_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/downloads","issues_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/issues{/number}","pulls_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/pulls{/number}","milestones_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/milestones{/number}","notifications_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/labels{/name}","releases_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/releases{/id}","deployments_url":"https://api.github.com/repos/Ichimonji10/pulp-smash/deployments","created_at":"2015-10-12T14:46:15Z","updated_at":"2018-06-18T13:47:46Z","pushed_at":"2018-06-20T16:20:47Z","git_url":"git://github.com/Ichimonji10/pulp-smash.git","ssh_url":"git@github.com:Ichimonji10/pulp-smash.git","clone_url":"https://github.com/Ichimonji10/pulp-smash.git","svn_url":"https://github.com/Ichimonji10/pulp-smash","homepage":null,"size":2365,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"PulpQE:master","ref":"master","sha":"8090d6032eaf10fbd33a56caf2524470c890b5c6","user":{"login":"PulpQE","id":14839747,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0ODM5NzQ3","avatar_url":"https://avatars3.githubusercontent.com/u/14839747?v=4","gravatar_id":"","url":"https://api.github.com/users/PulpQE","html_url":"https://github.com/PulpQE","followers_url":"https://api.github.com/users/PulpQE/followers","following_url":"https://api.github.com/users/PulpQE/following{/other_user}","gists_url":"https://api.github.com/users/PulpQE/gists{/gist_id}","starred_url":"https://api.github.com/users/PulpQE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PulpQE/subscriptions","organizations_url":"https://api.github.com/users/PulpQE/orgs","repos_url":"https://api.github.com/users/PulpQE/repos","events_url":"https://api.github.com/users/PulpQE/events{/privacy}","received_events_url":"https://api.github.com/users/PulpQE/received_events","type":"Organization","site_admin":false},"repo":{"id":43852872,"node_id":"MDEwOlJlcG9zaXRvcnk0Mzg1Mjg3Mg==","name":"pulp-smash","full_name":"PulpQE/pulp-smash","owner":{"login":"PulpQE","id":14839747,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0ODM5NzQ3","avatar_url":"https://avatars3.githubusercontent.com/u/14839747?v=4","gravatar_id":"","url":"https://api.github.com/users/PulpQE","html_url":"https://github.com/PulpQE","followers_url":"https://api.github.com/users/PulpQE/followers","following_url":"https://api.github.com/users/PulpQE/following{/other_user}","gists_url":"https://api.github.com/users/PulpQE/gists{/gist_id}","starred_url":"https://api.github.com/users/PulpQE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PulpQE/subscriptions","organizations_url":"https://api.github.com/users/PulpQE/orgs","repos_url":"https://api.github.com/users/PulpQE/repos","events_url":"https://api.github.com/users/PulpQE/events{/privacy}","received_events_url":"https://api.github.com/users/PulpQE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PulpQE/pulp-smash","description":"A GPL-licensed Python library that facilitates integration testing of Pulp.","fork":false,"url":"https://api.github.com/repos/PulpQE/pulp-smash","forks_url":"https://api.github.com/repos/PulpQE/pulp-smash/forks","keys_url":"https://api.github.com/repos/PulpQE/pulp-smash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PulpQE/pulp-smash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PulpQE/pulp-smash/teams","hooks_url":"https://api.github.com/repos/PulpQE/pulp-smash/hooks","issue_events_url":"https://api.github.com/repos/PulpQE/pulp-smash/issues/events{/number}","events_url":"https://api.github.com/repos/PulpQE/pulp-smash/events","assignees_url":"https://api.github.com/repos/PulpQE/pulp-smash/assignees{/user}","branches_url":"https://api.github.com/repos/PulpQE/pulp-smash/branches{/branch}","tags_url":"https://api.github.com/repos/PulpQE/pulp-smash/tags","blobs_url":"https://api.github.com/repos/PulpQE/pulp-smash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PulpQE/pulp-smash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PulpQE/pulp-smash/git/refs{/sha}","trees_url":"https://api.github.com/repos/PulpQE/pulp-smash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PulpQE/pulp-smash/statuses/{sha}","languages_url":"https://api.github.com/repos/PulpQE/pulp-smash/languages","stargazers_url":"https://api.github.com/repos/PulpQE/pulp-smash/stargazers","contributors_url":"https://api.github.com/repos/PulpQE/pulp-smash/contributors","subscribers_url":"https://api.github.com/repos/PulpQE/pulp-smash/subscribers","subscription_url":"https://api.github.com/repos/PulpQE/pulp-smash/subscription","commits_url":"https://api.github.com/repos/PulpQE/pulp-smash/commits{/sha}","git_commits_url":"https://api.github.com/repos/PulpQE/pulp-smash/git/commits{/sha}","comments_url":"https://api.github.com/repos/PulpQE/pulp-smash/comments{/number}","issue_comment_url":"https://api.github.com/repos/PulpQE/pulp-smash/issues/comments{/number}","contents_url":"https://api.github.com/repos/PulpQE/pulp-smash/contents/{+path}","compare_url":"https://api.github.com/repos/PulpQE/pulp-smash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PulpQE/pulp-smash/merges","archive_url":"https://api.github.com/repos/PulpQE/pulp-smash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PulpQE/pulp-smash/downloads","issues_url":"https://api.github.com/repos/PulpQE/pulp-smash/issues{/number}","pulls_url":"https://api.github.com/repos/PulpQE/pulp-smash/pulls{/number}","milestones_url":"https://api.github.com/repos/PulpQE/pulp-smash/milestones{/number}","notifications_url":"https://api.github.com/repos/PulpQE/pulp-smash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PulpQE/pulp-smash/labels{/name}","releases_url":"https://api.github.com/repos/PulpQE/pulp-smash/releases{/id}","deployments_url":"https://api.github.com/repos/PulpQE/pulp-smash/deployments","created_at":"2015-10-08T00:35:48Z","updated_at":"2018-06-15T20:26:59Z","pushed_at":"2018-06-20T16:45:41Z","git_url":"git://github.com/PulpQE/pulp-smash.git","ssh_url":"git@github.com:PulpQE/pulp-smash.git","clone_url":"https://github.com/PulpQE/pulp-smash.git","svn_url":"https://github.com/PulpQE/pulp-smash","homepage":"","size":2339,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":30,"mirror_url":null,"archived":false,"open_issues_count":164,"license":null,"forks":30,"open_issues":164,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PulpQE/pulp-smash/pulls/1081"},"html":{"href":"https://github.com/PulpQE/pulp-smash/pull/1081"},"issue":{"href":"https://api.github.com/repos/PulpQE/pulp-smash/issues/1081"},"comments":{"href":"https://api.github.com/repos/PulpQE/pulp-smash/issues/1081/comments"},"review_comments":{"href":"https://api.github.com/repos/PulpQE/pulp-smash/pulls/1081/comments"},"review_comment":{"href":"https://api.github.com/repos/PulpQE/pulp-smash/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PulpQE/pulp-smash/pulls/1081/commits"},"statuses":{"href":"https://api.github.com/repos/PulpQE/pulp-smash/statuses/b3b22168d25b209149e42011d2b07a1f215bb22d"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":52,"deletions":32,"changed_files":7}}
{"actor":{"display_login":"Ichimonji10"}}