{"action":"opened","issue":{"url":"https://api.github.com/repos/ManageIQ/integration_tests/issues/3198","repository_url":"https://api.github.com/repos/ManageIQ/integration_tests","labels_url":"https://api.github.com/repos/ManageIQ/integration_tests/issues/3198/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/integration_tests/issues/3198/comments","events_url":"https://api.github.com/repos/ManageIQ/integration_tests/issues/3198/events","html_url":"https://github.com/ManageIQ/integration_tests/issues/3198","id":166576166,"number":3198,"title":"Cloud power control tests need revisit","user":{"login":"jkrocil","id":964523,"avatar_url":"https://avatars.githubusercontent.com/u/964523?v=3","gravatar_id":"","url":"https://api.github.com/users/jkrocil","html_url":"https://github.com/jkrocil","followers_url":"https://api.github.com/users/jkrocil/followers","following_url":"https://api.github.com/users/jkrocil/following{/other_user}","gists_url":"https://api.github.com/users/jkrocil/gists{/gist_id}","starred_url":"https://api.github.com/users/jkrocil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkrocil/subscriptions","organizations_url":"https://api.github.com/users/jkrocil/orgs","repos_url":"https://api.github.com/users/jkrocil/repos","events_url":"https://api.github.com/users/jkrocil/events{/privacy}","received_events_url":"https://api.github.com/users/jkrocil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-20T13:04:39Z","updated_at":"2016-07-20T13:04:39Z","closed_at":null,"body":"https://github.com/ManageIQ/integration_tests/blob/master/cfme/tests/cloud/test_instance_power_control.py#L59\r\n\r\nWe should get rid of the `on`, `off` strings. Instead, instance-type-specific states (e.g.`OpenstackInstance.ON` should be used). Furthermore, the `power_state` fn should not be taking `power_state` as one of the arguments). It should take current instance's state from the passed `instance` obj and check the defined expected power control actions based on that."}}
{"actor":{"display_login":"jkrocil"}}