{"action":"created","comment":{"url":"https://api.github.com/repos/Azure/azure-cli/pulls/comments/104602225","pull_request_review_id":25444961,"id":104602225,"diff_hunk":"@@ -0,0 +1,25 @@\n+# --------------------------------------------------------------------------------------------\n+# Copyright (c) Microsoft Corporation. All rights reserved.\n+# Licensed under the MIT License. See License.txt in the project root for license information.\n+# --------------------------------------------------------------------------------------------\n+\n+\n+class CliTestError(Exception):\n+    def __init__(self, error_message):\n+        super(CliTestError, self).__init__(error_message)\n+\n+\n+class CliExecutionError(Exception):\n+    def __init__(self, exception):\n+        self.exception = exception\n+        message = 'An exception thrown during CLI execution indicates the command will fail. The ' \\\n+                  'exception was designed to be swallowed. Exception: [{}] {}.'","path":"src/azure-cli-tests/azure/cli/tests/exceptions.py","position":null,"original_position":16,"commit_id":"36da2b04c25af7e5bb699053853433fdb98090c2","original_commit_id":"cf41716dcd2880105a7a253c097343bc5006e060","user":{"login":"troydai","id":1329240,"avatar_url":"https://avatars1.githubusercontent.com/u/1329240?v=3","gravatar_id":"","url":"https://api.github.com/users/troydai","html_url":"https://github.com/troydai","followers_url":"https://api.github.com/users/troydai/followers","following_url":"https://api.github.com/users/troydai/following{/other_user}","gists_url":"https://api.github.com/users/troydai/gists{/gist_id}","starred_url":"https://api.github.com/users/troydai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troydai/subscriptions","organizations_url":"https://api.github.com/users/troydai/orgs","repos_url":"https://api.github.com/users/troydai/repos","events_url":"https://api.github.com/users/troydai/events{/privacy}","received_events_url":"https://api.github.com/users/troydai/received_events","type":"User","site_admin":false},"body":"Updated.","created_at":"2017-03-07T07:20:30Z","updated_at":"2017-03-07T07:20:30Z","html_url":"https://github.com/Azure/azure-cli/pull/2393#discussion_r104602225","pull_request_url":"https://api.github.com/repos/Azure/azure-cli/pulls/2393","_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-cli/pulls/comments/104602225"},"html":{"href":"https://github.com/Azure/azure-cli/pull/2393#discussion_r104602225"},"pull_request":{"href":"https://api.github.com/repos/Azure/azure-cli/pulls/2393"}}},"pull_request":{"url":"https://api.github.com/repos/Azure/azure-cli/pulls/2393","id":109337421,"html_url":"https://github.com/Azure/azure-cli/pull/2393","diff_url":"https://github.com/Azure/azure-cli/pull/2393.diff","patch_url":"https://github.com/Azure/azure-cli/pull/2393.patch","issue_url":"https://api.github.com/repos/Azure/azure-cli/issues/2393","number":2393,"state":"open","locked":false,"title":"Introduce new VCR test base","user":{"login":"troydai","id":1329240,"avatar_url":"https://avatars1.githubusercontent.com/u/1329240?v=3","gravatar_id":"","url":"https://api.github.com/users/troydai","html_url":"https://github.com/troydai","followers_url":"https://api.github.com/users/troydai/followers","following_url":"https://api.github.com/users/troydai/following{/other_user}","gists_url":"https://api.github.com/users/troydai/gists{/gist_id}","starred_url":"https://api.github.com/users/troydai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troydai/subscriptions","organizations_url":"https://api.github.com/users/troydai/orgs","repos_url":"https://api.github.com/users/troydai/repos","events_url":"https://api.github.com/users/troydai/events{/privacy}","received_events_url":"https://api.github.com/users/troydai/received_events","type":"User","site_admin":false},"body":"And update ACR tests as an example","created_at":"2017-03-06T20:05:26Z","updated_at":"2017-03-07T07:20:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6ea13da3399fd444bc72e492b6ab2cf1119e3f9f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Azure/azure-cli/pulls/2393/commits","review_comments_url":"https://api.github.com/repos/Azure/azure-cli/pulls/2393/comments","review_comment_url":"https://api.github.com/repos/Azure/azure-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/azure-cli/issues/2393/comments","statuses_url":"https://api.github.com/repos/Azure/azure-cli/statuses/36da2b04c25af7e5bb699053853433fdb98090c2","head":{"label":"troydai:venus","ref":"venus","sha":"36da2b04c25af7e5bb699053853433fdb98090c2","user":{"login":"troydai","id":1329240,"avatar_url":"https://avatars1.githubusercontent.com/u/1329240?v=3","gravatar_id":"","url":"https://api.github.com/users/troydai","html_url":"https://github.com/troydai","followers_url":"https://api.github.com/users/troydai/followers","following_url":"https://api.github.com/users/troydai/following{/other_user}","gists_url":"https://api.github.com/users/troydai/gists{/gist_id}","starred_url":"https://api.github.com/users/troydai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troydai/subscriptions","organizations_url":"https://api.github.com/users/troydai/orgs","repos_url":"https://api.github.com/users/troydai/repos","events_url":"https://api.github.com/users/troydai/events{/privacy}","received_events_url":"https://api.github.com/users/troydai/received_events","type":"User","site_admin":false},"repo":{"id":72557229,"name":"azure-cli","full_name":"troydai/azure-cli","owner":{"login":"troydai","id":1329240,"avatar_url":"https://avatars1.githubusercontent.com/u/1329240?v=3","gravatar_id":"","url":"https://api.github.com/users/troydai","html_url":"https://github.com/troydai","followers_url":"https://api.github.com/users/troydai/followers","following_url":"https://api.github.com/users/troydai/following{/other_user}","gists_url":"https://api.github.com/users/troydai/gists{/gist_id}","starred_url":"https://api.github.com/users/troydai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troydai/subscriptions","organizations_url":"https://api.github.com/users/troydai/orgs","repos_url":"https://api.github.com/users/troydai/repos","events_url":"https://api.github.com/users/troydai/events{/privacy}","received_events_url":"https://api.github.com/users/troydai/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/troydai/azure-cli","description":"Command-line tools for Azure.","fork":true,"url":"https://api.github.com/repos/troydai/azure-cli","forks_url":"https://api.github.com/repos/troydai/azure-cli/forks","keys_url":"https://api.github.com/repos/troydai/azure-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/troydai/azure-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/troydai/azure-cli/teams","hooks_url":"https://api.github.com/repos/troydai/azure-cli/hooks","issue_events_url":"https://api.github.com/repos/troydai/azure-cli/issues/events{/number}","events_url":"https://api.github.com/repos/troydai/azure-cli/events","assignees_url":"https://api.github.com/repos/troydai/azure-cli/assignees{/user}","branches_url":"https://api.github.com/repos/troydai/azure-cli/branches{/branch}","tags_url":"https://api.github.com/repos/troydai/azure-cli/tags","blobs_url":"https://api.github.com/repos/troydai/azure-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/troydai/azure-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/troydai/azure-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/troydai/azure-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/troydai/azure-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/troydai/azure-cli/languages","stargazers_url":"https://api.github.com/repos/troydai/azure-cli/stargazers","contributors_url":"https://api.github.com/repos/troydai/azure-cli/contributors","subscribers_url":"https://api.github.com/repos/troydai/azure-cli/subscribers","subscription_url":"https://api.github.com/repos/troydai/azure-cli/subscription","commits_url":"https://api.github.com/repos/troydai/azure-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/troydai/azure-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/troydai/azure-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/troydai/azure-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/troydai/azure-cli/contents/{+path}","compare_url":"https://api.github.com/repos/troydai/azure-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/troydai/azure-cli/merges","archive_url":"https://api.github.com/repos/troydai/azure-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/troydai/azure-cli/downloads","issues_url":"https://api.github.com/repos/troydai/azure-cli/issues{/number}","pulls_url":"https://api.github.com/repos/troydai/azure-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/troydai/azure-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/troydai/azure-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/troydai/azure-cli/labels{/name}","releases_url":"https://api.github.com/repos/troydai/azure-cli/releases{/id}","deployments_url":"https://api.github.com/repos/troydai/azure-cli/deployments","created_at":"2016-11-01T16:57:38Z","updated_at":"2016-11-01T16:57:42Z","pushed_at":"2017-03-07T07:20:23Z","git_url":"git://github.com/troydai/azure-cli.git","ssh_url":"git@github.com:troydai/azure-cli.git","clone_url":"https://github.com/troydai/azure-cli.git","svn_url":"https://github.com/troydai/azure-cli","homepage":null,"size":15698,"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":"Azure:master","ref":"master","sha":"964f569caf8784f0354150b32e4b63cea4ea8d82","user":{"login":"Azure","id":6844498,"avatar_url":"https://avatars3.githubusercontent.com/u/6844498?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":51040886,"name":"azure-cli","full_name":"Azure/azure-cli","owner":{"login":"Azure","id":6844498,"avatar_url":"https://avatars3.githubusercontent.com/u/6844498?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Azure/azure-cli","description":"Command-line tools for Azure.","fork":false,"url":"https://api.github.com/repos/Azure/azure-cli","forks_url":"https://api.github.com/repos/Azure/azure-cli/forks","keys_url":"https://api.github.com/repos/Azure/azure-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/azure-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/azure-cli/teams","hooks_url":"https://api.github.com/repos/Azure/azure-cli/hooks","issue_events_url":"https://api.github.com/repos/Azure/azure-cli/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/azure-cli/events","assignees_url":"https://api.github.com/repos/Azure/azure-cli/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/azure-cli/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/azure-cli/tags","blobs_url":"https://api.github.com/repos/Azure/azure-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/azure-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/azure-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/azure-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/azure-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/azure-cli/languages","stargazers_url":"https://api.github.com/repos/Azure/azure-cli/stargazers","contributors_url":"https://api.github.com/repos/Azure/azure-cli/contributors","subscribers_url":"https://api.github.com/repos/Azure/azure-cli/subscribers","subscription_url":"https://api.github.com/repos/Azure/azure-cli/subscription","commits_url":"https://api.github.com/repos/Azure/azure-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/azure-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/azure-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/azure-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/azure-cli/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/azure-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/azure-cli/merges","archive_url":"https://api.github.com/repos/Azure/azure-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/azure-cli/downloads","issues_url":"https://api.github.com/repos/Azure/azure-cli/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/azure-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/azure-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/azure-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/azure-cli/labels{/name}","releases_url":"https://api.github.com/repos/Azure/azure-cli/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/azure-cli/deployments","created_at":"2016-02-04T00:21:51Z","updated_at":"2017-03-06T16:05:21Z","pushed_at":"2017-03-07T07:20:25Z","git_url":"git://github.com/Azure/azure-cli.git","ssh_url":"git@github.com:Azure/azure-cli.git","clone_url":"https://github.com/Azure/azure-cli.git","svn_url":"https://github.com/Azure/azure-cli","homepage":null,"size":15698,"stargazers_count":311,"watchers_count":311,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":119,"mirror_url":null,"open_issues_count":332,"forks":119,"open_issues":332,"watchers":311,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-cli/pulls/2393"},"html":{"href":"https://github.com/Azure/azure-cli/pull/2393"},"issue":{"href":"https://api.github.com/repos/Azure/azure-cli/issues/2393"},"comments":{"href":"https://api.github.com/repos/Azure/azure-cli/issues/2393/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/azure-cli/pulls/2393/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/azure-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/azure-cli/pulls/2393/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/azure-cli/statuses/36da2b04c25af7e5bb699053853433fdb98090c2"}}}}
{"actor":{"display_login":"troydai"}}