{"action":"created","comment":{"url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/comments/41444589","id":41444589,"diff_hunk":"@@ -0,0 +1,135 @@\n+__author__ = 'maxim'\n+########\n+# Copyright (c) 2015 GigaSpaces Technologies Ltd. All rights reserved\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License.\n+# You may obtain a copy of the License at\n+#\n+#        http://www.apache.org/licenses/LICENSE-2.0\n+#\n+# Unless required by applicable law or agreed to in writing, software\n+# distributed under the License is distributed on an \"AS IS\" BASIS,\n+#    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+#    * See the License for the specific language governing permissions and\n+#    * limitations under the License.\n+\n+import os\n+\n+from fabric import api as fabric_api\n+\n+from cloudify.workflows import local\n+from cloudify_cli import constants as cli_constants\n+from cosmo_tester.framework.git_helper import clone\n+from cosmo_tester.framework.util import create_rest_client\n+\n+MANAGER_BLUEPRINTS_REPO_URL = 'https://github.com/cloudify-cosmo/' \\\n+                              'cloudify-manager-blueprints.git'\n+\n+\n+class AbstractSingleHostTest(object):\n+\n+    def abstract_setup(self):","path":"cosmo_tester/test_suites/test_simple_manager_blueprint/abstract_single_host_test.py","position":32,"original_position":32,"commit_id":"2b6270d82bfdc3287c7b3dbd87acdbb2d2d24da0","original_commit_id":"2b6270d82bfdc3287c7b3dbd87acdbb2d2d24da0","user":{"login":"dankilman","id":1008577,"avatar_url":"https://avatars.githubusercontent.com/u/1008577?v=3","gravatar_id":"","url":"https://api.github.com/users/dankilman","html_url":"https://github.com/dankilman","followers_url":"https://api.github.com/users/dankilman/followers","following_url":"https://api.github.com/users/dankilman/following{/other_user}","gists_url":"https://api.github.com/users/dankilman/gists{/gist_id}","starred_url":"https://api.github.com/users/dankilman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dankilman/subscriptions","organizations_url":"https://api.github.com/users/dankilman/orgs","repos_url":"https://api.github.com/users/dankilman/repos","events_url":"https://api.github.com/users/dankilman/events{/privacy}","received_events_url":"https://api.github.com/users/dankilman/received_events","type":"User","site_admin":false},"body":"maybe use a more explicit name? something like \"setup_simple_manager_env\"?\r\nthis will make it clearer when the actual tests call `self.setup_simple_manager_env()\" instead of the more vague `self.abstract_setup()`","created_at":"2015-10-07T20:45:18Z","updated_at":"2015-10-07T20:45:18Z","html_url":"https://github.com/cloudify-cosmo/cloudify-system-tests/pull/239#discussion_r41444589","pull_request_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/239","_links":{"self":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/comments/41444589"},"html":{"href":"https://github.com/cloudify-cosmo/cloudify-system-tests/pull/239#discussion_r41444589"},"pull_request":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/239"}}},"pull_request":{"url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/239","id":47050722,"html_url":"https://github.com/cloudify-cosmo/cloudify-system-tests/pull/239","diff_url":"https://github.com/cloudify-cosmo/cloudify-system-tests/pull/239.diff","patch_url":"https://github.com/cloudify-cosmo/cloudify-system-tests/pull/239.patch","issue_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/issues/239","number":239,"state":"open","locked":false,"title":"CFY-3742-Simple-manager-single-host-tests-do-not-cleanup-properly","user":{"login":"max-orlov","id":9050974,"avatar_url":"https://avatars.githubusercontent.com/u/9050974?v=3","gravatar_id":"","url":"https://api.github.com/users/max-orlov","html_url":"https://github.com/max-orlov","followers_url":"https://api.github.com/users/max-orlov/followers","following_url":"https://api.github.com/users/max-orlov/following{/other_user}","gists_url":"https://api.github.com/users/max-orlov/gists{/gist_id}","starred_url":"https://api.github.com/users/max-orlov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/max-orlov/subscriptions","organizations_url":"https://api.github.com/users/max-orlov/orgs","repos_url":"https://api.github.com/users/max-orlov/repos","events_url":"https://api.github.com/users/max-orlov/events{/privacy}","received_events_url":"https://api.github.com/users/max-orlov/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-07T16:33:56Z","updated_at":"2015-10-07T20:45:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fa24552eda656d44c09e9c2886f20a5133bed756","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/239/commits","review_comments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/239/comments","review_comment_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/issues/239/comments","statuses_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/statuses/2b6270d82bfdc3287c7b3dbd87acdbb2d2d24da0","head":{"label":"cloudify-cosmo:CFY-3742-simple-manager-single-host-system-tests","ref":"CFY-3742-simple-manager-single-host-system-tests","sha":"2b6270d82bfdc3287c7b3dbd87acdbb2d2d24da0","user":{"login":"cloudify-cosmo","id":6260555,"avatar_url":"https://avatars.githubusercontent.com/u/6260555?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudify-cosmo","html_url":"https://github.com/cloudify-cosmo","followers_url":"https://api.github.com/users/cloudify-cosmo/followers","following_url":"https://api.github.com/users/cloudify-cosmo/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-cosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-cosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-cosmo/subscriptions","organizations_url":"https://api.github.com/users/cloudify-cosmo/orgs","repos_url":"https://api.github.com/users/cloudify-cosmo/repos","events_url":"https://api.github.com/users/cloudify-cosmo/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-cosmo/received_events","type":"Organization","site_admin":false},"repo":{"id":18327506,"name":"cloudify-system-tests","full_name":"cloudify-cosmo/cloudify-system-tests","owner":{"login":"cloudify-cosmo","id":6260555,"avatar_url":"https://avatars.githubusercontent.com/u/6260555?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudify-cosmo","html_url":"https://github.com/cloudify-cosmo","followers_url":"https://api.github.com/users/cloudify-cosmo/followers","following_url":"https://api.github.com/users/cloudify-cosmo/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-cosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-cosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-cosmo/subscriptions","organizations_url":"https://api.github.com/users/cloudify-cosmo/orgs","repos_url":"https://api.github.com/users/cloudify-cosmo/repos","events_url":"https://api.github.com/users/cloudify-cosmo/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-cosmo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudify-cosmo/cloudify-system-tests","description":"Cloudify System Tests","fork":false,"url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests","forks_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/forks","keys_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/teams","hooks_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/hooks","issue_events_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/issues/events{/number}","events_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/events","assignees_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/assignees{/user}","branches_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/branches{/branch}","tags_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/tags","blobs_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/languages","stargazers_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/stargazers","contributors_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/contributors","subscribers_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/subscribers","subscription_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/subscription","commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/contents/{+path}","compare_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/merges","archive_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/downloads","issues_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/issues{/number}","pulls_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/labels{/name}","releases_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/releases{/id}","created_at":"2014-04-01T11:44:17Z","updated_at":"2015-05-07T14:25:56Z","pushed_at":"2015-10-07T19:15:07Z","git_url":"git://github.com/cloudify-cosmo/cloudify-system-tests.git","ssh_url":"git@github.com:cloudify-cosmo/cloudify-system-tests.git","clone_url":"https://github.com/cloudify-cosmo/cloudify-system-tests.git","svn_url":"https://github.com/cloudify-cosmo/cloudify-system-tests","homepage":null,"size":8841,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":2,"forks":7,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"cloudify-cosmo:master","ref":"master","sha":"2b5388342b5d926a4b40adbd00cceca4ec26c5a9","user":{"login":"cloudify-cosmo","id":6260555,"avatar_url":"https://avatars.githubusercontent.com/u/6260555?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudify-cosmo","html_url":"https://github.com/cloudify-cosmo","followers_url":"https://api.github.com/users/cloudify-cosmo/followers","following_url":"https://api.github.com/users/cloudify-cosmo/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-cosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-cosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-cosmo/subscriptions","organizations_url":"https://api.github.com/users/cloudify-cosmo/orgs","repos_url":"https://api.github.com/users/cloudify-cosmo/repos","events_url":"https://api.github.com/users/cloudify-cosmo/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-cosmo/received_events","type":"Organization","site_admin":false},"repo":{"id":18327506,"name":"cloudify-system-tests","full_name":"cloudify-cosmo/cloudify-system-tests","owner":{"login":"cloudify-cosmo","id":6260555,"avatar_url":"https://avatars.githubusercontent.com/u/6260555?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudify-cosmo","html_url":"https://github.com/cloudify-cosmo","followers_url":"https://api.github.com/users/cloudify-cosmo/followers","following_url":"https://api.github.com/users/cloudify-cosmo/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-cosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-cosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-cosmo/subscriptions","organizations_url":"https://api.github.com/users/cloudify-cosmo/orgs","repos_url":"https://api.github.com/users/cloudify-cosmo/repos","events_url":"https://api.github.com/users/cloudify-cosmo/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-cosmo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudify-cosmo/cloudify-system-tests","description":"Cloudify System Tests","fork":false,"url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests","forks_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/forks","keys_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/teams","hooks_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/hooks","issue_events_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/issues/events{/number}","events_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/events","assignees_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/assignees{/user}","branches_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/branches{/branch}","tags_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/tags","blobs_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/languages","stargazers_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/stargazers","contributors_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/contributors","subscribers_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/subscribers","subscription_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/subscription","commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/contents/{+path}","compare_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/merges","archive_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/downloads","issues_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/issues{/number}","pulls_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/labels{/name}","releases_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/releases{/id}","created_at":"2014-04-01T11:44:17Z","updated_at":"2015-05-07T14:25:56Z","pushed_at":"2015-10-07T19:15:07Z","git_url":"git://github.com/cloudify-cosmo/cloudify-system-tests.git","ssh_url":"git@github.com:cloudify-cosmo/cloudify-system-tests.git","clone_url":"https://github.com/cloudify-cosmo/cloudify-system-tests.git","svn_url":"https://github.com/cloudify-cosmo/cloudify-system-tests","homepage":null,"size":8841,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":2,"forks":7,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/239"},"html":{"href":"https://github.com/cloudify-cosmo/cloudify-system-tests/pull/239"},"issue":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/issues/239"},"comments":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/issues/239/comments"},"review_comments":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/239/comments"},"review_comment":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/239/commits"},"statuses":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/statuses/2b6270d82bfdc3287c7b3dbd87acdbb2d2d24da0"}}}}