)]}'
{"glance/api/v1/images.py":[{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"124b5bfebdfca30357bf4bf5bee94cc79a0f2c91","unresolved":false,"context_lines":[{"line_number":605,"context_line":"        or raises an HTTPBadRequest (400) response"},{"line_number":606,"context_line":""},{"line_number":607,"context_line":"        :param request: The WSGI/Webob Request object"},{"line_number":608,"context_line":"        :param store_name: The backend store name"},{"line_number":609,"context_line":""},{"line_number":610,"context_line":"        :raises HTTPNotFound if image does not exist"},{"line_number":611,"context_line":"        \"\"\""}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAEH%2F%2F%2Fv8%3D","line":608,"updated":"2012-01-23 18:19:48.000000000","message":"Heh, nice catch","commit_id":"686403e9c9a03c292ddba98ecaab3e9d879373ef"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"124b5bfebdfca30357bf4bf5bee94cc79a0f2c91","unresolved":false,"context_lines":[{"line_number":607,"context_line":"        :param request: The WSGI/Webob Request object"},{"line_number":608,"context_line":"        :param store_name: The backend store name"},{"line_number":609,"context_line":""},{"line_number":610,"context_line":"        :raises HTTPNotFound if image does not exist"},{"line_number":611,"context_line":"        \"\"\""},{"line_number":612,"context_line":"        try:"},{"line_number":613,"context_line":"            return get_store_from_scheme(store_name)"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAEH%2F%2F%2Fv4%3D","line":610,"updated":"2012-01-23 18:19:48.000000000","message":"But you missed this one ;) s/image/store/","commit_id":"686403e9c9a03c292ddba98ecaab3e9d879373ef"}],"glance/tests/functional/__init__.py":[{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"124b5bfebdfca30357bf4bf5bee94cc79a0f2c91","unresolved":false,"context_lines":[{"line_number":449,"context_line":""},{"line_number":450,"context_line":"        self.assertEqual(0, exitcode,"},{"line_number":451,"context_line":"                         \"Failed to spin up the requested server. \""},{"line_number":452,"context_line":"                         \"Got: %s\" % err)"},{"line_number":453,"context_line":"        self.assertTrue(re.search(\"Starting glance-[a-z]+ with\", out))"},{"line_number":454,"context_line":""},{"line_number":455,"context_line":"        self.wait_for_servers([server.bind_port], expect_launch)"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAEH%2F%2F%2Fvk%3D","line":452,"updated":"2012-01-23 18:19:48.000000000","message":"If expect_launch is False, should we be assert\u0027ing that the exitcode is 0 here? Unfortunately, with the way glance-control works, this may be the only way to do this right now :(","commit_id":"686403e9c9a03c292ddba98ecaab3e9d879373ef"},{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"3d2915ce412ee3ca72e965ec6ba67c29619e390c","unresolved":false,"context_lines":[{"line_number":449,"context_line":""},{"line_number":450,"context_line":"        self.assertEqual(0, exitcode,"},{"line_number":451,"context_line":"                         \"Failed to spin up the requested server. \""},{"line_number":452,"context_line":"                         \"Got: %s\" % err)"},{"line_number":453,"context_line":"        self.assertTrue(re.search(\"Starting glance-[a-z]+ with\", out))"},{"line_number":454,"context_line":""},{"line_number":455,"context_line":"        self.wait_for_servers([server.bind_port], expect_launch)"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAEH%2F%2F%2FuU%3D","line":452,"in_reply_to":"AAAAEH%2F%2F%2Fvk%3D","updated":"2012-01-23 18:51:51.000000000","message":"Yeah, that tripped me up before I realized that the glance-control process was interposed so that the 255 exit code from glance-api is lost.\n\nSo I guess the idea is to assert that glance-control succeeds in failing to launch glance-api (the 0 exit code connoting the success, and the API port being unreachable implying the failure).","commit_id":"686403e9c9a03c292ddba98ecaab3e9d879373ef"}],"glance/tests/functional/test_api.py":[{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"124b5bfebdfca30357bf4bf5bee94cc79a0f2c91","unresolved":false,"context_lines":[{"line_number":1248,"context_line":"        \"\"\""},{"line_number":1249,"context_line":"        self.cleanup()"},{"line_number":1250,"context_line":"        self.api_server.default_store \u003d \u0027shouldnotexist\u0027"},{"line_number":1251,"context_line":"        self.start_server(self.api_server, False, **self.__dict__.copy())"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAEH%2F%2F%2FvY%3D","line":1251,"updated":"2012-01-23 18:19:48.000000000","message":"Might be good to add a quick comment here that wait_for_servers() will call assertFalse() and that is the verification for this particular test...","commit_id":"686403e9c9a03c292ddba98ecaab3e9d879373ef"}]}
