)]}'
{"nova/tests/scheduler/fakes.py":[{"author":{"_account_id":1030,"name":"Chris Behrens","email":"cbehrens@codestud.com","username":"cbehrens"},"change_message_id":"c9a85ea6d5d548336bc552d15b762e381a8acbd8","unresolved":false,"context_lines":[{"line_number":89,"context_line":""},{"line_number":90,"context_line":"class FakeHostState(host_manager.HostState):"},{"line_number":91,"context_line":"    def __init__(self, host, topic, attribute_dict, service\u003dNone):"},{"line_number":92,"context_line":"        super(FakeHostState, self).__init__(host, topic, service\u003dservice)"},{"line_number":93,"context_line":"        for (key, val) in attribute_dict.iteritems():"},{"line_number":94,"context_line":"            setattr(self, key, val)"},{"line_number":95,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAD3%2F%2F8K4%3D","line":92,"updated":"2012-01-20 07:40:39.000000000","message":"Actually, all you had to do here was add \u0027service\u0027 to the \u0027attribute_dict\u0027 when you instantiate this class.  No need for mods here.","commit_id":"a45d4221e29724e88cbed4492f5b6236f5cd10a1"}],"nova/tests/scheduler/test_host_filters.py":[{"author":{"_account_id":1030,"name":"Chris Behrens","email":"cbehrens@codestud.com","username":"cbehrens"},"change_message_id":"c9a85ea6d5d548336bc552d15b762e381a8acbd8","unresolved":false,"context_lines":[{"line_number":433,"context_line":"        filt_cls \u003d filters.AvailabilityZoneFilter()"},{"line_number":434,"context_line":"        service \u003d {\u0027availability_zone\u0027: \u0027nova\u0027}"},{"line_number":435,"context_line":"        request \u003d self._make_zone_request(\u0027nova\u0027)"},{"line_number":436,"context_line":"        host \u003d fakes.FakeHostState(\u0027host1\u0027, \u0027compute\u0027, {}, service)"},{"line_number":437,"context_line":"        self.assertTrue(filt_cls.host_passes(host, request))"},{"line_number":438,"context_line":""},{"line_number":439,"context_line":"    def test_availability_zone_filter_different(self):"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAD3%2F%2F8K0%3D","line":436,"updated":"2012-01-20 07:40:39.000000000","message":"With the other comment, change {} to {\u0027service\u0027: service} and you should be golden without needing the new argument.  See the tests in my branch.","commit_id":"a45d4221e29724e88cbed4492f5b6236f5cd10a1"}]}
