)]}'
{"rally/plugins/openstack/scenarios/nova/servers.py":[{"author":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"change_message_id":"26043d68a6679c00b5d78ea71bde4e5ab17ac396","unresolved":false,"context_lines":[{"line_number":171,"context_line":"        \"\"\"Boot a server and run specified actions against it."},{"line_number":172,"context_line":""},{"line_number":173,"context_line":"        Actions should be passed into the actions parameter. Available actions"},{"line_number":174,"context_line":"        are \u0027hard_reboot\u0027, \u0027soft_reboot\u0027, \u0027stop_start\u0027 and \u0027rescue_unrescue\u0027."},{"line_number":175,"context_line":"        Delete server after all actions were completed."},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"        :param image: image to be used to boot an instance"}],"source_content_type":"text/x-python","patch_set":5,"id":"9a061dce_235a3584","line":174,"range":{"start_line":174,"start_character":13,"end_line":174,"end_character":76},"updated":"2016-04-04 10:51:51.000000000","message":"please, update this docstring","commit_id":"bd2030547dc6e0ae5e33fa823c7ce9f2a22ddba8"}],"tests/unit/plugins/openstack/scenarios/nova/test_servers.py":[{"author":{"_account_id":12395,"name":"Roman Vasylets","email":"pomeo92@gmail.com","username":"rvasilets"},"change_message_id":"a36dc6f8cadac6707dc866759f57c7815b964d80","unresolved":false,"context_lines":[{"line_number":78,"context_line":"        scenario._delete_server.assert_called_once_with(fake_server,"},{"line_number":79,"context_line":"                                                        force\u003dFalse)"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"    def test_boot_pause_unpause(self):"},{"line_number":82,"context_line":"        actions \u003d [{\"pause_unpause\": 5}]"},{"line_number":83,"context_line":"        fake_server \u003d mock.MagicMock()"},{"line_number":84,"context_line":"        scenario \u003d servers.NovaServers(self.context)"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba0121b8_87ca1b6d","line":81,"updated":"2016-04-03 07:33:58.000000000","message":"As those test all similar.  They all deffer only by list of scenario._* method that are mocked. Could you use ddt module for them?","commit_id":"5a75673bd1dda3d5ea78ed792024ebfe7855bfb0"},{"author":{"_account_id":6172,"name":"Boris Pavlovic","email":"boris@pavlovic.me","username":"boris-42"},"change_message_id":"350e3b541daf141624471f5ac77b772d9ad7444c","unresolved":false,"context_lines":[{"line_number":157,"context_line":""},{"line_number":158,"context_line":"        local_assert_raises([{\"not_existing_action\": 6}])"},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"        local_assert_raises([{\"hard_reboot\": \"no\"}])"},{"line_number":161,"context_line":"        local_assert_raises({\"hard_reboot\": 6})"},{"line_number":162,"context_line":"        local_assert_raises([{\"hard_reboot\": -1}])"},{"line_number":163,"context_line":"        local_assert_raises([{\"hard_reboot\": 0}])"}],"source_content_type":"text/x-python","patch_set":8,"id":"9a061dce_103f7fb4","line":160,"updated":"2016-04-08 05:06:51.000000000","message":"This looks like copy pasting. \nWhy can\u0027t we use here ddt approach here?","commit_id":"f0063edcf822a2c248a583439025bc6812692b92"}]}
