)]}'
{"shade/tests/functional/test_compute.py":[{"author":{"_account_id":6133,"name":"yolanda.robla","email":"yroblamo@redhat.com","username":"yolanda.robla"},"change_message_id":"e0504d94b5df712e2dda083e8e6f79d49b88d5eb","unresolved":false,"context_lines":[{"line_number":33,"context_line":"        self.nova \u003d self.cloud.nova_client"},{"line_number":34,"context_line":"        self.flavor \u003d pick_flavor(self.nova.flavors.list())"},{"line_number":35,"context_line":"        if self.flavor is None:"},{"line_number":36,"context_line":"            self.assertTrue(False, \u0027no sensible flavor available\u0027)"},{"line_number":37,"context_line":"        self.image \u003d pick_image(self.nova.images.list())"},{"line_number":38,"context_line":"        if self.image is None:"},{"line_number":39,"context_line":"            self.assertTrue(False, \u0027no sensible image available\u0027)"}],"source_content_type":"text/x-python","patch_set":3,"id":"bab921fb_a0f809c4","line":36,"updated":"2015-04-26 17:02:40.000000000","message":"why just not assertfalse?","commit_id":"1f397424781f28fbd093e11af039caa0d41b7c9c"}],"shade/tests/functional/util.py":[{"author":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"change_message_id":"c8d46f01110f81f93a456d82c33c903251be3512","unresolved":false,"context_lines":[{"line_number":26,"context_line":"    for flavor in sorted("},{"line_number":27,"context_line":"            flavors,"},{"line_number":28,"context_line":"            key\u003doperator.attrgetter(\u0027ram\u0027)):"},{"line_number":29,"context_line":"        return flavor"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"def pick_image(images):"}],"source_content_type":"text/x-python","patch_set":4,"id":"3acd31a7_305863fa","line":29,"updated":"2015-04-30 01:11:46.000000000","message":"return sorted(flavors, key\u003doperator.attrgetter(\u0027ram\u0027))[0] might also work and be simpler? Except it will throw an index error instead of returning None. I guess that changes the contract.","commit_id":"aa092bafd9c8ab1b19a72bf01a9a5f63ab26ee6b"}]}
