{"action":"created","comment":{"url":"https://api.github.com/repos/pywbem/pywbem/pulls/comments/217025114","pull_request_review_id":154641523,"id":217025114,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNzAyNTExNA==","diff_hunk":"@@ -356,14 +378,91 @@ def __repr__(self):\n     #\n     ################################################################\n \n+    def add_namespace(self, namespace):\n+        \"\"\"\n+        Add a CIM namespace to the mock repository.\n+\n+        The namespace must not yet exist in the mock repository.\n+\n+        Note that the default connection namespace automatically exists in the","path":"pywbem_mock/_wbemconnection_mock.py","position":69,"original_position":69,"commit_id":"25dbcf1e9b0ff2fafb058c5cf04bfeb872fb561b","original_commit_id":"25dbcf1e9b0ff2fafb058c5cf04bfeb872fb561b","user":{"login":"KSchopmeyer","id":2340817,"node_id":"MDQ6VXNlcjIzNDA4MTc=","avatar_url":"https://avatars3.githubusercontent.com/u/2340817?v=4","gravatar_id":"","url":"https://api.github.com/users/KSchopmeyer","html_url":"https://github.com/KSchopmeyer","followers_url":"https://api.github.com/users/KSchopmeyer/followers","following_url":"https://api.github.com/users/KSchopmeyer/following{/other_user}","gists_url":"https://api.github.com/users/KSchopmeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/KSchopmeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KSchopmeyer/subscriptions","organizations_url":"https://api.github.com/users/KSchopmeyer/orgs","repos_url":"https://api.github.com/users/KSchopmeyer/repos","events_url":"https://api.github.com/users/KSchopmeyer/events{/privacy}","received_events_url":"https://api.github.com/users/KSchopmeyer/received_events","type":"User","site_admin":false},"body":"This comment may require some more explanation.  I had to think about it for a moment.  Maybe something like \"It is created when the _wbemconnection_mock is constructed.\"  Also might better refernce with conn.default_namespace.\r\n\r\nQuestion. What happens if you do delete_namespace on the default conneciton namespace","created_at":"2018-09-12T13:16:53Z","updated_at":"2018-09-12T13:16:53Z","html_url":"https://github.com/pywbem/pywbem/pull/1366#discussion_r217025114","pull_request_url":"https://api.github.com/repos/pywbem/pywbem/pulls/1366","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/pywbem/pywbem/pulls/comments/217025114"},"html":{"href":"https://github.com/pywbem/pywbem/pull/1366#discussion_r217025114"},"pull_request":{"href":"https://api.github.com/repos/pywbem/pywbem/pulls/1366"}}},"pull_request":{"url":"https://api.github.com/repos/pywbem/pywbem/pulls/1366","id":212597436,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyNTk3NDM2","html_url":"https://github.com/pywbem/pywbem/pull/1366","diff_url":"https://github.com/pywbem/pywbem/pull/1366.diff","patch_url":"https://github.com/pywbem/pywbem/pull/1366.patch","issue_url":"https://api.github.com/repos/pywbem/pywbem/issues/1366","number":1366,"state":"open","locked":false,"title":"Changed namespace handling in mock support to be explicit","user":{"login":"andy-maier","id":8939758,"node_id":"MDQ6VXNlcjg5Mzk3NTg=","avatar_url":"https://avatars2.githubusercontent.com/u/8939758?v=4","gravatar_id":"","url":"https://api.github.com/users/andy-maier","html_url":"https://github.com/andy-maier","followers_url":"https://api.github.com/users/andy-maier/followers","following_url":"https://api.github.com/users/andy-maier/following{/other_user}","gists_url":"https://api.github.com/users/andy-maier/gists{/gist_id}","starred_url":"https://api.github.com/users/andy-maier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andy-maier/subscriptions","organizations_url":"https://api.github.com/users/andy-maier/orgs","repos_url":"https://api.github.com/users/andy-maier/repos","events_url":"https://api.github.com/users/andy-maier/events{/privacy}","received_events_url":"https://api.github.com/users/andy-maier/received_events","type":"User","site_admin":false},"body":"The commit message details all changes, explains the background, and should be read before reviewing.\r\nReady for review and merge.","created_at":"2018-09-02T15:11:53Z","updated_at":"2018-09-12T13:16:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a53841a724a89d786e997ce71d0fe6be7f8b3d3f","assignee":{"login":"andy-maier","id":8939758,"node_id":"MDQ6VXNlcjg5Mzk3NTg=","avatar_url":"https://avatars2.githubusercontent.com/u/8939758?v=4","gravatar_id":"","url":"https://api.github.com/users/andy-maier","html_url":"https://github.com/andy-maier","followers_url":"https://api.github.com/users/andy-maier/followers","following_url":"https://api.github.com/users/andy-maier/following{/other_user}","gists_url":"https://api.github.com/users/andy-maier/gists{/gist_id}","starred_url":"https://api.github.com/users/andy-maier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andy-maier/subscriptions","organizations_url":"https://api.github.com/users/andy-maier/orgs","repos_url":"https://api.github.com/users/andy-maier/repos","events_url":"https://api.github.com/users/andy-maier/events{/privacy}","received_events_url":"https://api.github.com/users/andy-maier/received_events","type":"User","site_admin":false},"assignees":[{"login":"andy-maier","id":8939758,"node_id":"MDQ6VXNlcjg5Mzk3NTg=","avatar_url":"https://avatars2.githubusercontent.com/u/8939758?v=4","gravatar_id":"","url":"https://api.github.com/users/andy-maier","html_url":"https://github.com/andy-maier","followers_url":"https://api.github.com/users/andy-maier/followers","following_url":"https://api.github.com/users/andy-maier/following{/other_user}","gists_url":"https://api.github.com/users/andy-maier/gists{/gist_id}","starred_url":"https://api.github.com/users/andy-maier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andy-maier/subscriptions","organizations_url":"https://api.github.com/users/andy-maier/orgs","repos_url":"https://api.github.com/users/andy-maier/repos","events_url":"https://api.github.com/users/andy-maier/events{/privacy}","received_events_url":"https://api.github.com/users/andy-maier/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":361707965,"node_id":"MDU6TGFiZWwzNjE3MDc5NjU=","url":"https://api.github.com/repos/pywbem/pywbem/labels/review%20needed","name":"review needed","color":"159818","default":false}],"milestone":{"url":"https://api.github.com/repos/pywbem/pywbem/milestones/14","html_url":"https://github.com/pywbem/pywbem/milestone/14","labels_url":"https://api.github.com/repos/pywbem/pywbem/milestones/14/labels","id":3244714,"node_id":"MDk6TWlsZXN0b25lMzI0NDcxNA==","number":14,"title":"0.13.0","description":"Next release for main development","creator":{"login":"andy-maier","id":8939758,"node_id":"MDQ6VXNlcjg5Mzk3NTg=","avatar_url":"https://avatars2.githubusercontent.com/u/8939758?v=4","gravatar_id":"","url":"https://api.github.com/users/andy-maier","html_url":"https://github.com/andy-maier","followers_url":"https://api.github.com/users/andy-maier/followers","following_url":"https://api.github.com/users/andy-maier/following{/other_user}","gists_url":"https://api.github.com/users/andy-maier/gists{/gist_id}","starred_url":"https://api.github.com/users/andy-maier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andy-maier/subscriptions","organizations_url":"https://api.github.com/users/andy-maier/orgs","repos_url":"https://api.github.com/users/andy-maier/repos","events_url":"https://api.github.com/users/andy-maier/events{/privacy}","received_events_url":"https://api.github.com/users/andy-maier/received_events","type":"User","site_admin":false},"open_issues":53,"closed_issues":133,"state":"open","created_at":"2018-04-05T10:12:42Z","updated_at":"2018-09-12T10:57:25Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/pywbem/pywbem/pulls/1366/commits","review_comments_url":"https://api.github.com/repos/pywbem/pywbem/pulls/1366/comments","review_comment_url":"https://api.github.com/repos/pywbem/pywbem/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pywbem/pywbem/issues/1366/comments","statuses_url":"https://api.github.com/repos/pywbem/pywbem/statuses/25dbcf1e9b0ff2fafb058c5cf04bfeb872fb561b","head":{"label":"pywbem:andy/mock-change-namespace-handling","ref":"andy/mock-change-namespace-handling","sha":"25dbcf1e9b0ff2fafb058c5cf04bfeb872fb561b","user":{"login":"pywbem","id":15003592,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MDAzNTky","avatar_url":"https://avatars1.githubusercontent.com/u/15003592?v=4","gravatar_id":"","url":"https://api.github.com/users/pywbem","html_url":"https://github.com/pywbem","followers_url":"https://api.github.com/users/pywbem/followers","following_url":"https://api.github.com/users/pywbem/following{/other_user}","gists_url":"https://api.github.com/users/pywbem/gists{/gist_id}","starred_url":"https://api.github.com/users/pywbem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pywbem/subscriptions","organizations_url":"https://api.github.com/users/pywbem/orgs","repos_url":"https://api.github.com/users/pywbem/repos","events_url":"https://api.github.com/users/pywbem/events{/privacy}","received_events_url":"https://api.github.com/users/pywbem/received_events","type":"Organization","site_admin":false},"repo":{"id":43776349,"node_id":"MDEwOlJlcG9zaXRvcnk0Mzc3NjM0OQ==","name":"pywbem","full_name":"pywbem/pywbem","owner":{"login":"pywbem","id":15003592,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MDAzNTky","avatar_url":"https://avatars1.githubusercontent.com/u/15003592?v=4","gravatar_id":"","url":"https://api.github.com/users/pywbem","html_url":"https://github.com/pywbem","followers_url":"https://api.github.com/users/pywbem/followers","following_url":"https://api.github.com/users/pywbem/following{/other_user}","gists_url":"https://api.github.com/users/pywbem/gists{/gist_id}","starred_url":"https://api.github.com/users/pywbem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pywbem/subscriptions","organizations_url":"https://api.github.com/users/pywbem/orgs","repos_url":"https://api.github.com/users/pywbem/repos","events_url":"https://api.github.com/users/pywbem/events{/privacy}","received_events_url":"https://api.github.com/users/pywbem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pywbem/pywbem","description":"Pywbem - A WBEM client and related utilities, written in pure Python.","fork":false,"url":"https://api.github.com/repos/pywbem/pywbem","forks_url":"https://api.github.com/repos/pywbem/pywbem/forks","keys_url":"https://api.github.com/repos/pywbem/pywbem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pywbem/pywbem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pywbem/pywbem/teams","hooks_url":"https://api.github.com/repos/pywbem/pywbem/hooks","issue_events_url":"https://api.github.com/repos/pywbem/pywbem/issues/events{/number}","events_url":"https://api.github.com/repos/pywbem/pywbem/events","assignees_url":"https://api.github.com/repos/pywbem/pywbem/assignees{/user}","branches_url":"https://api.github.com/repos/pywbem/pywbem/branches{/branch}","tags_url":"https://api.github.com/repos/pywbem/pywbem/tags","blobs_url":"https://api.github.com/repos/pywbem/pywbem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pywbem/pywbem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pywbem/pywbem/git/refs{/sha}","trees_url":"https://api.github.com/repos/pywbem/pywbem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pywbem/pywbem/statuses/{sha}","languages_url":"https://api.github.com/repos/pywbem/pywbem/languages","stargazers_url":"https://api.github.com/repos/pywbem/pywbem/stargazers","contributors_url":"https://api.github.com/repos/pywbem/pywbem/contributors","subscribers_url":"https://api.github.com/repos/pywbem/pywbem/subscribers","subscription_url":"https://api.github.com/repos/pywbem/pywbem/subscription","commits_url":"https://api.github.com/repos/pywbem/pywbem/commits{/sha}","git_commits_url":"https://api.github.com/repos/pywbem/pywbem/git/commits{/sha}","comments_url":"https://api.github.com/repos/pywbem/pywbem/comments{/number}","issue_comment_url":"https://api.github.com/repos/pywbem/pywbem/issues/comments{/number}","contents_url":"https://api.github.com/repos/pywbem/pywbem/contents/{+path}","compare_url":"https://api.github.com/repos/pywbem/pywbem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pywbem/pywbem/merges","archive_url":"https://api.github.com/repos/pywbem/pywbem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pywbem/pywbem/downloads","issues_url":"https://api.github.com/repos/pywbem/pywbem/issues{/number}","pulls_url":"https://api.github.com/repos/pywbem/pywbem/pulls{/number}","milestones_url":"https://api.github.com/repos/pywbem/pywbem/milestones{/number}","notifications_url":"https://api.github.com/repos/pywbem/pywbem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pywbem/pywbem/labels{/name}","releases_url":"https://api.github.com/repos/pywbem/pywbem/releases{/id}","deployments_url":"https://api.github.com/repos/pywbem/pywbem/deployments","created_at":"2015-10-06T20:22:46Z","updated_at":"2018-09-09T19:54:20Z","pushed_at":"2018-09-12T10:55:47Z","git_url":"git://github.com/pywbem/pywbem.git","ssh_url":"git@github.com:pywbem/pywbem.git","clone_url":"https://github.com/pywbem/pywbem.git","svn_url":"https://github.com/pywbem/pywbem","homepage":"https://pywbem.github.io","size":36805,"stargazers_count":20,"watchers_count":20,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"archived":false,"open_issues_count":89,"license":{"key":"lgpl-2.1","name":"GNU Lesser General Public License v2.1","spdx_id":"LGPL-2.1","url":"https://api.github.com/licenses/lgpl-2.1","node_id":"MDc6TGljZW5zZTEx"},"forks":14,"open_issues":89,"watchers":20,"default_branch":"master"}},"base":{"label":"pywbem:master","ref":"master","sha":"19bec9b4846edce100d6ccc47a101df9e1587551","user":{"login":"pywbem","id":15003592,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MDAzNTky","avatar_url":"https://avatars1.githubusercontent.com/u/15003592?v=4","gravatar_id":"","url":"https://api.github.com/users/pywbem","html_url":"https://github.com/pywbem","followers_url":"https://api.github.com/users/pywbem/followers","following_url":"https://api.github.com/users/pywbem/following{/other_user}","gists_url":"https://api.github.com/users/pywbem/gists{/gist_id}","starred_url":"https://api.github.com/users/pywbem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pywbem/subscriptions","organizations_url":"https://api.github.com/users/pywbem/orgs","repos_url":"https://api.github.com/users/pywbem/repos","events_url":"https://api.github.com/users/pywbem/events{/privacy}","received_events_url":"https://api.github.com/users/pywbem/received_events","type":"Organization","site_admin":false},"repo":{"id":43776349,"node_id":"MDEwOlJlcG9zaXRvcnk0Mzc3NjM0OQ==","name":"pywbem","full_name":"pywbem/pywbem","owner":{"login":"pywbem","id":15003592,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MDAzNTky","avatar_url":"https://avatars1.githubusercontent.com/u/15003592?v=4","gravatar_id":"","url":"https://api.github.com/users/pywbem","html_url":"https://github.com/pywbem","followers_url":"https://api.github.com/users/pywbem/followers","following_url":"https://api.github.com/users/pywbem/following{/other_user}","gists_url":"https://api.github.com/users/pywbem/gists{/gist_id}","starred_url":"https://api.github.com/users/pywbem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pywbem/subscriptions","organizations_url":"https://api.github.com/users/pywbem/orgs","repos_url":"https://api.github.com/users/pywbem/repos","events_url":"https://api.github.com/users/pywbem/events{/privacy}","received_events_url":"https://api.github.com/users/pywbem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pywbem/pywbem","description":"Pywbem - A WBEM client and related utilities, written in pure Python.","fork":false,"url":"https://api.github.com/repos/pywbem/pywbem","forks_url":"https://api.github.com/repos/pywbem/pywbem/forks","keys_url":"https://api.github.com/repos/pywbem/pywbem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pywbem/pywbem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pywbem/pywbem/teams","hooks_url":"https://api.github.com/repos/pywbem/pywbem/hooks","issue_events_url":"https://api.github.com/repos/pywbem/pywbem/issues/events{/number}","events_url":"https://api.github.com/repos/pywbem/pywbem/events","assignees_url":"https://api.github.com/repos/pywbem/pywbem/assignees{/user}","branches_url":"https://api.github.com/repos/pywbem/pywbem/branches{/branch}","tags_url":"https://api.github.com/repos/pywbem/pywbem/tags","blobs_url":"https://api.github.com/repos/pywbem/pywbem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pywbem/pywbem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pywbem/pywbem/git/refs{/sha}","trees_url":"https://api.github.com/repos/pywbem/pywbem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pywbem/pywbem/statuses/{sha}","languages_url":"https://api.github.com/repos/pywbem/pywbem/languages","stargazers_url":"https://api.github.com/repos/pywbem/pywbem/stargazers","contributors_url":"https://api.github.com/repos/pywbem/pywbem/contributors","subscribers_url":"https://api.github.com/repos/pywbem/pywbem/subscribers","subscription_url":"https://api.github.com/repos/pywbem/pywbem/subscription","commits_url":"https://api.github.com/repos/pywbem/pywbem/commits{/sha}","git_commits_url":"https://api.github.com/repos/pywbem/pywbem/git/commits{/sha}","comments_url":"https://api.github.com/repos/pywbem/pywbem/comments{/number}","issue_comment_url":"https://api.github.com/repos/pywbem/pywbem/issues/comments{/number}","contents_url":"https://api.github.com/repos/pywbem/pywbem/contents/{+path}","compare_url":"https://api.github.com/repos/pywbem/pywbem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pywbem/pywbem/merges","archive_url":"https://api.github.com/repos/pywbem/pywbem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pywbem/pywbem/downloads","issues_url":"https://api.github.com/repos/pywbem/pywbem/issues{/number}","pulls_url":"https://api.github.com/repos/pywbem/pywbem/pulls{/number}","milestones_url":"https://api.github.com/repos/pywbem/pywbem/milestones{/number}","notifications_url":"https://api.github.com/repos/pywbem/pywbem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pywbem/pywbem/labels{/name}","releases_url":"https://api.github.com/repos/pywbem/pywbem/releases{/id}","deployments_url":"https://api.github.com/repos/pywbem/pywbem/deployments","created_at":"2015-10-06T20:22:46Z","updated_at":"2018-09-09T19:54:20Z","pushed_at":"2018-09-12T10:55:47Z","git_url":"git://github.com/pywbem/pywbem.git","ssh_url":"git@github.com:pywbem/pywbem.git","clone_url":"https://github.com/pywbem/pywbem.git","svn_url":"https://github.com/pywbem/pywbem","homepage":"https://pywbem.github.io","size":36805,"stargazers_count":20,"watchers_count":20,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"archived":false,"open_issues_count":89,"license":{"key":"lgpl-2.1","name":"GNU Lesser General Public License v2.1","spdx_id":"LGPL-2.1","url":"https://api.github.com/licenses/lgpl-2.1","node_id":"MDc6TGljZW5zZTEx"},"forks":14,"open_issues":89,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pywbem/pywbem/pulls/1366"},"html":{"href":"https://github.com/pywbem/pywbem/pull/1366"},"issue":{"href":"https://api.github.com/repos/pywbem/pywbem/issues/1366"},"comments":{"href":"https://api.github.com/repos/pywbem/pywbem/issues/1366/comments"},"review_comments":{"href":"https://api.github.com/repos/pywbem/pywbem/pulls/1366/comments"},"review_comment":{"href":"https://api.github.com/repos/pywbem/pywbem/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pywbem/pywbem/pulls/1366/commits"},"statuses":{"href":"https://api.github.com/repos/pywbem/pywbem/statuses/25dbcf1e9b0ff2fafb058c5cf04bfeb872fb561b"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"KSchopmeyer"}}