)]}'
{"glance/tests/functional/test_client_redirects.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"3cfee952fe007a975431aded33f887f942c5ecb0","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"\"\"\"Functional test cases testing glance client redirect-following.\"\"\""},{"line_number":17,"context_line":"import eventlet.patcher"},{"line_number":18,"context_line":"from http import client as http_client"},{"line_number":19,"context_line":"import webob.dec"},{"line_number":20,"context_line":"import webob.exc"},{"line_number":21,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"7f6b1bfe_3802d3b5","line":18,"updated":"2020-10-14 12:40:44.000000000","message":"pep8: F401 \u0027http.client as http_client\u0027 imported but unused","commit_id":"c36273a331f2335a59d72024beeacc416ca52a17"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"3cfee952fe007a975431aded33f887f942c5ecb0","unresolved":false,"context_lines":[{"line_number":97,"context_line":"        Test GET with no redirect"},{"line_number":98,"context_line":"        \"\"\""},{"line_number":99,"context_line":"        response \u003d self.client.do_request(\"GET\", \"/\")"},{"line_number":100,"context_line":"        self.assertEqual(http.OK, response.status)"},{"line_number":101,"context_line":"        self.assertEqual(b\"root\", response.read())"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"    def test_get_with_one_redirect(self):"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f6b1bfe_18ff17ab","line":100,"updated":"2020-10-14 12:40:44.000000000","message":"pep8: F821 undefined name \u0027http\u0027","commit_id":"c36273a331f2335a59d72024beeacc416ca52a17"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"3cfee952fe007a975431aded33f887f942c5ecb0","unresolved":false,"context_lines":[{"line_number":105,"context_line":"        Test GET with one 302 FOUND redirect"},{"line_number":106,"context_line":"        \"\"\""},{"line_number":107,"context_line":"        response \u003d self.client.do_request(\"GET\", \"/302\")"},{"line_number":108,"context_line":"        self.assertEqual(http.OK, response.status)"},{"line_number":109,"context_line":"        self.assertEqual(b\"success_from_host_one\", response.read())"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"    def test_get_with_one_redirect_query_string(self):"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f6b1bfe_782d6b45","line":108,"updated":"2020-10-14 12:40:44.000000000","message":"pep8: F821 undefined name \u0027http\u0027","commit_id":"c36273a331f2335a59d72024beeacc416ca52a17"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"3cfee952fe007a975431aded33f887f942c5ecb0","unresolved":false,"context_lines":[{"line_number":114,"context_line":"        \"\"\""},{"line_number":115,"context_line":"        response \u003d self.client.do_request(\"GET\", \"/302\","},{"line_number":116,"context_line":"                                          params\u003d{\u0027with_qs\u0027: \u0027yes\u0027})"},{"line_number":117,"context_line":"        self.assertEqual(http.OK, response.status)"},{"line_number":118,"context_line":"        self.assertEqual(b\"success_with_qs\", response.read())"},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"    def test_get_with_max_redirects(self):"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f6b1bfe_58322fa9","line":117,"updated":"2020-10-14 12:40:44.000000000","message":"pep8: F821 undefined name \u0027http\u0027","commit_id":"c36273a331f2335a59d72024beeacc416ca52a17"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"3cfee952fe007a975431aded33f887f942c5ecb0","unresolved":false,"context_lines":[{"line_number":131,"context_line":"        Test POST with 302 redirect"},{"line_number":132,"context_line":"        \"\"\""},{"line_number":133,"context_line":"        response \u003d self.client.do_request(\"POST\", \"/302\")"},{"line_number":134,"context_line":"        self.assertEqual(http.OK, response.status)"},{"line_number":135,"context_line":"        self.assertEqual(b\"success_from_host_one\", response.read())"},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"    def test_redirect_to_new_host(self):"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f6b1bfe_b8270365","line":134,"updated":"2020-10-14 12:40:44.000000000","message":"pep8: F821 undefined name \u0027http\u0027","commit_id":"c36273a331f2335a59d72024beeacc416ca52a17"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"3cfee952fe007a975431aded33f887f942c5ecb0","unresolved":false,"context_lines":[{"line_number":141,"context_line":"        url \u003d \"/redirect-to-%d\" % self.port_two"},{"line_number":142,"context_line":"        response \u003d self.client.do_request(\"POST\", url)"},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"        self.assertEqual(http.OK, response.status)"},{"line_number":145,"context_line":"        self.assertEqual(b\"success_from_host_two\", response.read())"},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"        response \u003d self.client.do_request(\"POST\", \"/success\")"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f6b1bfe_982cc748","line":144,"updated":"2020-10-14 12:40:44.000000000","message":"pep8: F821 undefined name \u0027http\u0027","commit_id":"c36273a331f2335a59d72024beeacc416ca52a17"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"3cfee952fe007a975431aded33f887f942c5ecb0","unresolved":false,"context_lines":[{"line_number":145,"context_line":"        self.assertEqual(b\"success_from_host_two\", response.read())"},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"        response \u003d self.client.do_request(\"POST\", \"/success\")"},{"line_number":148,"context_line":"        self.assertEqual(http.OK, response.status)"},{"line_number":149,"context_line":"        self.assertEqual(b\"success_from_host_one\", response.read())"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f6b1bfe_f8205b4c","line":148,"updated":"2020-10-14 12:40:44.000000000","message":"pep8: F821 undefined name \u0027http\u0027","commit_id":"c36273a331f2335a59d72024beeacc416ca52a17"}],"glance/tests/functional/test_logging.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"3cfee952fe007a975431aded33f887f942c5ecb0","unresolved":false,"context_lines":[{"line_number":18,"context_line":"import os"},{"line_number":19,"context_line":"import stat"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"from http import client as http_client"},{"line_number":22,"context_line":"import httplib2"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"from glance.tests import functional"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f6b1bfe_f8f7bbd3","line":21,"updated":"2020-10-14 12:40:44.000000000","message":"pep8: F401 \u0027http.client as http_client\u0027 imported but unused","commit_id":"c36273a331f2335a59d72024beeacc416ca52a17"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"3cfee952fe007a975431aded33f887f942c5ecb0","unresolved":false,"context_lines":[{"line_number":85,"context_line":""},{"line_number":86,"context_line":"        path \u003d \"http://%s:%d/\" % (\"127.0.0.1\", self.api_port)"},{"line_number":87,"context_line":"        response, content \u003d httplib2.Http().request(path, \u0027GET\u0027)"},{"line_number":88,"context_line":"        self.assertEqual(http.MULTIPLE_CHOICES, response.status)"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"        self.assertNotEmptyFile(self.api_server.log_file)"},{"line_number":91,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"7f6b1bfe_d8f47fd2","line":88,"updated":"2020-10-14 12:40:44.000000000","message":"pep8: F821 undefined name \u0027http\u0027","commit_id":"c36273a331f2335a59d72024beeacc416ca52a17"}],"glance/tests/functional/test_reload.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"3cfee952fe007a975431aded33f887f942c5ecb0","unresolved":false,"context_lines":[{"line_number":17,"context_line":"import re"},{"line_number":18,"context_line":"import time"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"from http import client as http_client"},{"line_number":21,"context_line":"import psutil"},{"line_number":22,"context_line":"import requests"},{"line_number":23,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"7f6b1bfe_d81d9f10","line":20,"updated":"2020-10-14 12:40:44.000000000","message":"pep8: F401 \u0027http.client as http_client\u0027 imported but unused","commit_id":"c36273a331f2335a59d72024beeacc416ca52a17"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"3cfee952fe007a975431aded33f887f942c5ecb0","unresolved":false,"context_lines":[{"line_number":123,"context_line":""},{"line_number":124,"context_line":"        path \u003d self._url(\u0027http\u0027, \u0027/\u0027)"},{"line_number":125,"context_line":"        response \u003d requests.get(path)"},{"line_number":126,"context_line":"        self.assertEqual(http.MULTIPLE_CHOICES, response.status_code)"},{"line_number":127,"context_line":"        del response  # close socket so that process audit is reliable"},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"        pre_pids[\u0027api\u0027] \u003d self._get_children(\u0027api\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f6b1bfe_381bf31b","line":126,"updated":"2020-10-14 12:40:44.000000000","message":"pep8: F821 undefined name \u0027http\u0027","commit_id":"c36273a331f2335a59d72024beeacc416ca52a17"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"3cfee952fe007a975431aded33f887f942c5ecb0","unresolved":false,"context_lines":[{"line_number":161,"context_line":""},{"line_number":162,"context_line":"        path \u003d self._url(\u0027http\u0027, \u0027/\u0027)"},{"line_number":163,"context_line":"        response \u003d requests.get(path)"},{"line_number":164,"context_line":"        self.assertEqual(http.MULTIPLE_CHOICES, response.status_code)"},{"line_number":165,"context_line":"        del response"},{"line_number":166,"context_line":""},{"line_number":167,"context_line":"        # Test logging configuration change"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f6b1bfe_1818b71b","line":164,"updated":"2020-10-14 12:40:44.000000000","message":"pep8: F821 undefined name \u0027http\u0027","commit_id":"c36273a331f2335a59d72024beeacc416ca52a17"}]}
