{"action":"created","comment":{"url":"https://api.github.com/repos/CCI-MOC/haas/pulls/comments/66508614","id":66508614,"diff_hunk":"@@ -0,0 +1,24 @@\n+import ast\n+import pytest\n+import subprocess\n+\n+PROJECT1 = 'foo'\n+\n+\n+class TestCLI:","path":"tests/integration/cli.py","position":8,"original_position":8,"commit_id":"6be7904ee21ff4b173bc3c83a2621ad523c10a5d","original_commit_id":"6be7904ee21ff4b173bc3c83a2621ad523c10a5d","user":{"login":"zenhack","id":883774,"avatar_url":"https://avatars.githubusercontent.com/u/883774?v=3","gravatar_id":"","url":"https://api.github.com/users/zenhack","html_url":"https://github.com/zenhack","followers_url":"https://api.github.com/users/zenhack/followers","following_url":"https://api.github.com/users/zenhack/following{/other_user}","gists_url":"https://api.github.com/users/zenhack/gists{/gist_id}","starred_url":"https://api.github.com/users/zenhack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zenhack/subscriptions","organizations_url":"https://api.github.com/users/zenhack/orgs","repos_url":"https://api.github.com/users/zenhack/repos","events_url":"https://api.github.com/users/zenhack/events{/privacy}","received_events_url":"https://api.github.com/users/zenhack/received_events","type":"User","site_admin":false},"body":"This doesn't need to be in a class; pytest will pick up top-level functions called `test_*`. Do that unless there's a reason to introduce structure via a class.","created_at":"2016-06-09T19:44:47Z","updated_at":"2016-06-09T19:44:47Z","html_url":"https://github.com/CCI-MOC/haas/pull/597#discussion_r66508614","pull_request_url":"https://api.github.com/repos/CCI-MOC/haas/pulls/597","_links":{"self":{"href":"https://api.github.com/repos/CCI-MOC/haas/pulls/comments/66508614"},"html":{"href":"https://github.com/CCI-MOC/haas/pull/597#discussion_r66508614"},"pull_request":{"href":"https://api.github.com/repos/CCI-MOC/haas/pulls/597"}}},"pull_request":{"url":"https://api.github.com/repos/CCI-MOC/haas/pulls/597","id":70541819,"html_url":"https://github.com/CCI-MOC/haas/pull/597","diff_url":"https://github.com/CCI-MOC/haas/pull/597.diff","patch_url":"https://github.com/CCI-MOC/haas/pull/597.patch","issue_url":"https://api.github.com/repos/CCI-MOC/haas/issues/597","number":597,"state":"open","locked":false,"title":"Integration testing","user":{"login":"knikolla","id":4123322,"avatar_url":"https://avatars.githubusercontent.com/u/4123322?v=3","gravatar_id":"","url":"https://api.github.com/users/knikolla","html_url":"https://github.com/knikolla","followers_url":"https://api.github.com/users/knikolla/followers","following_url":"https://api.github.com/users/knikolla/following{/other_user}","gists_url":"https://api.github.com/users/knikolla/gists{/gist_id}","starred_url":"https://api.github.com/users/knikolla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knikolla/subscriptions","organizations_url":"https://api.github.com/users/knikolla/orgs","repos_url":"https://api.github.com/users/knikolla/repos","events_url":"https://api.github.com/users/knikolla/events{/privacy}","received_events_url":"https://api.github.com/users/knikolla/received_events","type":"User","site_admin":false},"body":"This pull request configures apache2 on travis-ci and adds cli tests for project create/list/delete. ","created_at":"2016-05-18T14:49:51Z","updated_at":"2016-06-09T19:44:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3301930a381a71dd34ea2f23dc15772305014a7a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CCI-MOC/haas/pulls/597/commits","review_comments_url":"https://api.github.com/repos/CCI-MOC/haas/pulls/597/comments","review_comment_url":"https://api.github.com/repos/CCI-MOC/haas/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CCI-MOC/haas/issues/597/comments","statuses_url":"https://api.github.com/repos/CCI-MOC/haas/statuses/6be7904ee21ff4b173bc3c83a2621ad523c10a5d","head":{"label":"knikolla:ci_ansible","ref":"ci_ansible","sha":"6be7904ee21ff4b173bc3c83a2621ad523c10a5d","user":{"login":"knikolla","id":4123322,"avatar_url":"https://avatars.githubusercontent.com/u/4123322?v=3","gravatar_id":"","url":"https://api.github.com/users/knikolla","html_url":"https://github.com/knikolla","followers_url":"https://api.github.com/users/knikolla/followers","following_url":"https://api.github.com/users/knikolla/following{/other_user}","gists_url":"https://api.github.com/users/knikolla/gists{/gist_id}","starred_url":"https://api.github.com/users/knikolla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knikolla/subscriptions","organizations_url":"https://api.github.com/users/knikolla/orgs","repos_url":"https://api.github.com/users/knikolla/repos","events_url":"https://api.github.com/users/knikolla/events{/privacy}","received_events_url":"https://api.github.com/users/knikolla/received_events","type":"User","site_admin":false},"repo":{"id":50516455,"name":"haas","full_name":"knikolla/haas","owner":{"login":"knikolla","id":4123322,"avatar_url":"https://avatars.githubusercontent.com/u/4123322?v=3","gravatar_id":"","url":"https://api.github.com/users/knikolla","html_url":"https://github.com/knikolla","followers_url":"https://api.github.com/users/knikolla/followers","following_url":"https://api.github.com/users/knikolla/following{/other_user}","gists_url":"https://api.github.com/users/knikolla/gists{/gist_id}","starred_url":"https://api.github.com/users/knikolla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knikolla/subscriptions","organizations_url":"https://api.github.com/users/knikolla/orgs","repos_url":"https://api.github.com/users/knikolla/repos","events_url":"https://api.github.com/users/knikolla/events{/privacy}","received_events_url":"https://api.github.com/users/knikolla/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/knikolla/haas","description":"","fork":true,"url":"https://api.github.com/repos/knikolla/haas","forks_url":"https://api.github.com/repos/knikolla/haas/forks","keys_url":"https://api.github.com/repos/knikolla/haas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/knikolla/haas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/knikolla/haas/teams","hooks_url":"https://api.github.com/repos/knikolla/haas/hooks","issue_events_url":"https://api.github.com/repos/knikolla/haas/issues/events{/number}","events_url":"https://api.github.com/repos/knikolla/haas/events","assignees_url":"https://api.github.com/repos/knikolla/haas/assignees{/user}","branches_url":"https://api.github.com/repos/knikolla/haas/branches{/branch}","tags_url":"https://api.github.com/repos/knikolla/haas/tags","blobs_url":"https://api.github.com/repos/knikolla/haas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/knikolla/haas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/knikolla/haas/git/refs{/sha}","trees_url":"https://api.github.com/repos/knikolla/haas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/knikolla/haas/statuses/{sha}","languages_url":"https://api.github.com/repos/knikolla/haas/languages","stargazers_url":"https://api.github.com/repos/knikolla/haas/stargazers","contributors_url":"https://api.github.com/repos/knikolla/haas/contributors","subscribers_url":"https://api.github.com/repos/knikolla/haas/subscribers","subscription_url":"https://api.github.com/repos/knikolla/haas/subscription","commits_url":"https://api.github.com/repos/knikolla/haas/commits{/sha}","git_commits_url":"https://api.github.com/repos/knikolla/haas/git/commits{/sha}","comments_url":"https://api.github.com/repos/knikolla/haas/comments{/number}","issue_comment_url":"https://api.github.com/repos/knikolla/haas/issues/comments{/number}","contents_url":"https://api.github.com/repos/knikolla/haas/contents/{+path}","compare_url":"https://api.github.com/repos/knikolla/haas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/knikolla/haas/merges","archive_url":"https://api.github.com/repos/knikolla/haas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/knikolla/haas/downloads","issues_url":"https://api.github.com/repos/knikolla/haas/issues{/number}","pulls_url":"https://api.github.com/repos/knikolla/haas/pulls{/number}","milestones_url":"https://api.github.com/repos/knikolla/haas/milestones{/number}","notifications_url":"https://api.github.com/repos/knikolla/haas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/knikolla/haas/labels{/name}","releases_url":"https://api.github.com/repos/knikolla/haas/releases{/id}","deployments_url":"https://api.github.com/repos/knikolla/haas/deployments","created_at":"2016-01-27T15:22:20Z","updated_at":"2016-01-27T15:22:21Z","pushed_at":"2016-06-07T14:35:49Z","git_url":"git://github.com/knikolla/haas.git","ssh_url":"git@github.com:knikolla/haas.git","clone_url":"https://github.com/knikolla/haas.git","svn_url":"https://github.com/knikolla/haas","homepage":null,"size":1887,"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":"CCI-MOC:master","ref":"master","sha":"df99caa9f734ae127ab17a0e5597592ef469baee","user":{"login":"CCI-MOC","id":3578683,"avatar_url":"https://avatars.githubusercontent.com/u/3578683?v=3","gravatar_id":"","url":"https://api.github.com/users/CCI-MOC","html_url":"https://github.com/CCI-MOC","followers_url":"https://api.github.com/users/CCI-MOC/followers","following_url":"https://api.github.com/users/CCI-MOC/following{/other_user}","gists_url":"https://api.github.com/users/CCI-MOC/gists{/gist_id}","starred_url":"https://api.github.com/users/CCI-MOC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CCI-MOC/subscriptions","organizations_url":"https://api.github.com/users/CCI-MOC/orgs","repos_url":"https://api.github.com/users/CCI-MOC/repos","events_url":"https://api.github.com/users/CCI-MOC/events{/privacy}","received_events_url":"https://api.github.com/users/CCI-MOC/received_events","type":"Organization","site_admin":false},"repo":{"id":16487339,"name":"haas","full_name":"CCI-MOC/haas","owner":{"login":"CCI-MOC","id":3578683,"avatar_url":"https://avatars.githubusercontent.com/u/3578683?v=3","gravatar_id":"","url":"https://api.github.com/users/CCI-MOC","html_url":"https://github.com/CCI-MOC","followers_url":"https://api.github.com/users/CCI-MOC/followers","following_url":"https://api.github.com/users/CCI-MOC/following{/other_user}","gists_url":"https://api.github.com/users/CCI-MOC/gists{/gist_id}","starred_url":"https://api.github.com/users/CCI-MOC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CCI-MOC/subscriptions","organizations_url":"https://api.github.com/users/CCI-MOC/orgs","repos_url":"https://api.github.com/users/CCI-MOC/repos","events_url":"https://api.github.com/users/CCI-MOC/events{/privacy}","received_events_url":"https://api.github.com/users/CCI-MOC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CCI-MOC/haas","description":"Hardware as a Service","fork":false,"url":"https://api.github.com/repos/CCI-MOC/haas","forks_url":"https://api.github.com/repos/CCI-MOC/haas/forks","keys_url":"https://api.github.com/repos/CCI-MOC/haas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CCI-MOC/haas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CCI-MOC/haas/teams","hooks_url":"https://api.github.com/repos/CCI-MOC/haas/hooks","issue_events_url":"https://api.github.com/repos/CCI-MOC/haas/issues/events{/number}","events_url":"https://api.github.com/repos/CCI-MOC/haas/events","assignees_url":"https://api.github.com/repos/CCI-MOC/haas/assignees{/user}","branches_url":"https://api.github.com/repos/CCI-MOC/haas/branches{/branch}","tags_url":"https://api.github.com/repos/CCI-MOC/haas/tags","blobs_url":"https://api.github.com/repos/CCI-MOC/haas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CCI-MOC/haas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CCI-MOC/haas/git/refs{/sha}","trees_url":"https://api.github.com/repos/CCI-MOC/haas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CCI-MOC/haas/statuses/{sha}","languages_url":"https://api.github.com/repos/CCI-MOC/haas/languages","stargazers_url":"https://api.github.com/repos/CCI-MOC/haas/stargazers","contributors_url":"https://api.github.com/repos/CCI-MOC/haas/contributors","subscribers_url":"https://api.github.com/repos/CCI-MOC/haas/subscribers","subscription_url":"https://api.github.com/repos/CCI-MOC/haas/subscription","commits_url":"https://api.github.com/repos/CCI-MOC/haas/commits{/sha}","git_commits_url":"https://api.github.com/repos/CCI-MOC/haas/git/commits{/sha}","comments_url":"https://api.github.com/repos/CCI-MOC/haas/comments{/number}","issue_comment_url":"https://api.github.com/repos/CCI-MOC/haas/issues/comments{/number}","contents_url":"https://api.github.com/repos/CCI-MOC/haas/contents/{+path}","compare_url":"https://api.github.com/repos/CCI-MOC/haas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CCI-MOC/haas/merges","archive_url":"https://api.github.com/repos/CCI-MOC/haas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CCI-MOC/haas/downloads","issues_url":"https://api.github.com/repos/CCI-MOC/haas/issues{/number}","pulls_url":"https://api.github.com/repos/CCI-MOC/haas/pulls{/number}","milestones_url":"https://api.github.com/repos/CCI-MOC/haas/milestones{/number}","notifications_url":"https://api.github.com/repos/CCI-MOC/haas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CCI-MOC/haas/labels{/name}","releases_url":"https://api.github.com/repos/CCI-MOC/haas/releases{/id}","deployments_url":"https://api.github.com/repos/CCI-MOC/haas/deployments","created_at":"2014-02-03T17:48:01Z","updated_at":"2016-05-23T18:18:41Z","pushed_at":"2016-06-09T19:28:40Z","git_url":"git://github.com/CCI-MOC/haas.git","ssh_url":"git@github.com:CCI-MOC/haas.git","clone_url":"https://github.com/CCI-MOC/haas.git","svn_url":"https://github.com/CCI-MOC/haas","homepage":"","size":2532,"stargazers_count":8,"watchers_count":8,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":140,"forks":30,"open_issues":140,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CCI-MOC/haas/pulls/597"},"html":{"href":"https://github.com/CCI-MOC/haas/pull/597"},"issue":{"href":"https://api.github.com/repos/CCI-MOC/haas/issues/597"},"comments":{"href":"https://api.github.com/repos/CCI-MOC/haas/issues/597/comments"},"review_comments":{"href":"https://api.github.com/repos/CCI-MOC/haas/pulls/597/comments"},"review_comment":{"href":"https://api.github.com/repos/CCI-MOC/haas/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CCI-MOC/haas/pulls/597/commits"},"statuses":{"href":"https://api.github.com/repos/CCI-MOC/haas/statuses/6be7904ee21ff4b173bc3c83a2621ad523c10a5d"}}}}
{"actor":{"display_login":"zenhack"}}