)]}'
{"tools/run_fuzzy_test.py":[{"author":{"_account_id":6743,"name":"Seif Lotfy","email":"s.lotfy@telekom.de","username":"seif"},"change_message_id":"5b049d42b44cc2dae744ab18f4b9a7fba202d6c0","unresolved":false,"context_lines":[{"line_number":46,"context_line":"    def generate_random_value(self):"},{"line_number":47,"context_line":"        #NOTE(mkoderer): just pick a generator randomly"},{"line_number":48,"context_line":"        size \u003d len(self.random_generators)"},{"line_number":49,"context_line":"        generator \u003d self.random_generators[random.randrange(0, size)]"},{"line_number":50,"context_line":"        self.logger.info(\"Use generator %s\" % generator)"},{"line_number":51,"context_line":"        return generator()"},{"line_number":52,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAATH%2F%2FPCE%3D","line":49,"updated":"2013-10-20 08:29:04.000000000","message":"You can use choice to pick out a random item from a list\ntry to adapt the following to your random picking\n\nfoo \u003d [\u0027a\u0027, \u0027b\u0027, \u0027c\u0027, \u0027d\u0027, \u0027e\u0027]\n\nfrom random import choice\n\nprint choice(foo)","commit_id":"d8ebd374bfcfa9cbe400cdc4dceca597ee025f01"},{"author":{"_account_id":6743,"name":"Seif Lotfy","email":"s.lotfy@telekom.de","username":"seif"},"change_message_id":"5b049d42b44cc2dae744ab18f4b9a7fba202d6c0","unresolved":false,"context_lines":[{"line_number":88,"context_line":"                    help\u003d\"The function to test (like update_image)\")"},{"line_number":89,"context_line":"parser.add_argument(\u0027-n\u0027, \u0027--number\u0027, type\u003dint, default\u003d1,"},{"line_number":90,"context_line":"                    help\u003d\"How often the test should be executed\")"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"if __name__ \u003d\u003d \"__main__\":"},{"line_number":94,"context_line":"    try:"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAATH%2F%2FPCA%3D","line":91,"updated":"2013-10-20 08:29:04.000000000","message":"I am not sure you want to add the parser outside the __main__. Is this intended...","commit_id":"d8ebd374bfcfa9cbe400cdc4dceca597ee025f01"},{"author":{"_account_id":5586,"name":"Ivan-Zhu","email":"zhubo198511@gmail.com","username":"ivan-zhu"},"change_message_id":"5bea8296b3b11af3bdb94eed98b871b97a158eff","unresolved":false,"context_lines":[{"line_number":95,"context_line":"        sys.exit(main(parser.parse_args()))"},{"line_number":96,"context_line":"    except Exception as e:"},{"line_number":97,"context_line":"        LOG.exception(e)"},{"line_number":98,"context_line":"        sys.exit(1)"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAATH%2F%2FOvk%3D","line":98,"updated":"2013-10-20 15:21:15.000000000","message":"sorry, did I miss something?  I wonder if we expect the wrong input will cause excpetion:BadRequst? so should it be sys.exit() here? and we shouldn\u0027t just catch the general exception, For example if the return code is 500, it should be a bug in nova v3 api.","commit_id":"d8ebd374bfcfa9cbe400cdc4dceca597ee025f01"}]}
