)]}'
{"functionaltests/client/v1/functional/test_secrets.py":[{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"96c243ca708f540adb1b02a55311a2a734a5b398","unresolved":false,"context_lines":[{"line_number":141,"context_line":""},{"line_number":142,"context_line":"        self.assertEqual(e.http_status, 404)"},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"    def test_secret_create_nones_content_type(self):"},{"line_number":145,"context_line":"        \"\"\"Create secret with valid content type but no payload."},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"        Secret will not create due to None in the payload even if content"}],"source_content_type":"text/x-python","patch_set":2,"id":"9a80dd14_50aac719","line":144,"updated":"2015-03-12 18:35:23.000000000","message":"add @testcase.attr(\u0027negative\u0027)","commit_id":"813891ef4024760b84c63ca87a29dc91ba2c985d"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"96c243ca708f540adb1b02a55311a2a734a5b398","unresolved":false,"context_lines":[{"line_number":174,"context_line":"    def test_secret_get_secret_doesnt_exist(self):"},{"line_number":175,"context_line":"        \"\"\"GET an invalid secret ref."},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"        Well get value error secret incorrectly specified since \"notauuid\""},{"line_number":178,"context_line":"        is not a properly formatted uuid."},{"line_number":179,"context_line":"        \"\"\""},{"line_number":180,"context_line":"        url \u003d self.barbicanclient.secrets._api._base_url + \u0027/secrets/notauuid\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"9a80dd14_2b0ec632","line":177,"updated":"2015-03-12 18:35:23.000000000","message":"c/Well/Will","commit_id":"813891ef4024760b84c63ca87a29dc91ba2c985d"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"96c243ca708f540adb1b02a55311a2a734a5b398","unresolved":false,"context_lines":[{"line_number":177,"context_line":"        Well get value error secret incorrectly specified since \"notauuid\""},{"line_number":178,"context_line":"        is not a properly formatted uuid."},{"line_number":179,"context_line":"        \"\"\""},{"line_number":180,"context_line":"        url \u003d self.barbicanclient.secrets._api._base_url + \u0027/secrets/notauuid\u0027"},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"        e \u003d self.assertRaises(ValueError, self.behaviors.get_secret,"},{"line_number":183,"context_line":"                              url)"}],"source_content_type":"text/x-python","patch_set":2,"id":"9a80dd14_77450042","line":180,"updated":"2015-03-12 18:35:23.000000000","message":"would seem that api is private (given its name) to the secrets object and base URL is private to the api object.  Should we add a behavior to get the base URL perhaps?","commit_id":"813891ef4024760b84c63ca87a29dc91ba2c985d"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"96c243ca708f540adb1b02a55311a2a734a5b398","unresolved":false,"context_lines":[{"line_number":202,"context_line":"    def test_secret_create_emptystrings(self):"},{"line_number":203,"context_line":"        \"\"\"Secret create with empty Strings for all attributes."},{"line_number":204,"context_line":""},{"line_number":205,"context_line":"        Fails with a value error, Secret has no encrypted data."},{"line_number":206,"context_line":"        \"\"\""},{"line_number":207,"context_line":"        test_model \u003d self.behaviors.create_secret("},{"line_number":208,"context_line":"            secret_create_emptystrings_data)"}],"source_content_type":"text/x-python","patch_set":2,"id":"9a80dd14_d7a22cfb","line":205,"updated":"2015-03-12 18:35:23.000000000","message":"the error is actually \"payload incorrectly specified\"","commit_id":"813891ef4024760b84c63ca87a29dc91ba2c985d"},{"author":{"_account_id":8004,"name":"Paul Kehrer","email":"paul.l.kehrer@gmail.com","username":"reaperhulk"},"change_message_id":"06fd6827ea0d2b5a9cacb0599d36033e0c6ccc7c","unresolved":false,"context_lines":[{"line_number":195,"context_line":"            secret_create_defaults_data)"},{"line_number":196,"context_line":"        test_model.expiration \u003d \u00272000-01-10T14:58:52.546795\u0027"},{"line_number":197,"context_line":""},{"line_number":198,"context_line":"        e \u003d self.assertRaises(Exception, self.behaviors.store_secret,"},{"line_number":199,"context_line":"                              test_model)"},{"line_number":200,"context_line":"        self.assertEqual(e.http_status, 400)"},{"line_number":201,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"9a80dd14_1f759297","line":198,"updated":"2015-03-13 13:17:22.000000000","message":"What is the actual exception raised here? Is it a wrapped exception already or something from requests?","commit_id":"f575308461e89917cd823be03764bbd44da869a2"},{"author":{"_account_id":8004,"name":"Paul Kehrer","email":"paul.l.kehrer@gmail.com","username":"reaperhulk"},"change_message_id":"06fd6827ea0d2b5a9cacb0599d36033e0c6ccc7c","unresolved":false,"context_lines":[{"line_number":225,"context_line":"            secret_create_defaults_data)"},{"line_number":226,"context_line":"        test_model.payload \u003d str(self.oversized_payload)"},{"line_number":227,"context_line":""},{"line_number":228,"context_line":"        e \u003d self.assertRaises(Exception, self.behaviors.store_secret,"},{"line_number":229,"context_line":"                              test_model)"},{"line_number":230,"context_line":"        self.assertEqual(e.http_status, 413)"},{"line_number":231,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"9a80dd14_ff4efe36","line":228,"updated":"2015-03-13 13:17:22.000000000","message":"Same question as above. Wrapped exception or leaking the underlying library?","commit_id":"f575308461e89917cd823be03764bbd44da869a2"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"e83932bc6515b65c4e628ac6eb6d8f21350316e1","unresolved":false,"context_lines":[{"line_number":141,"context_line":"        self.assertEqual(e.http_status, 404)"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"    @testcase.attr(\u0027negative\u0027)"},{"line_number":144,"context_line":"    def test_secret_create_nones_content_type(self):"},{"line_number":145,"context_line":"        \"\"\"Create secret with valid content type but no payload."},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"        Secret will not create due to None in the payload even if content"}],"source_content_type":"text/x-python","patch_set":6,"id":"9a80dd14_a5bb820d","line":144,"updated":"2015-03-20 01:37:13.000000000","message":"suggested rename: test_secret_create_w_content_type_no_payload","commit_id":"d5c560e7daee8d67010cafa3fc6a9e76195f9606"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"e83932bc6515b65c4e628ac6eb6d8f21350316e1","unresolved":false,"context_lines":[{"line_number":158,"context_line":"        )"},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"    @testcase.attr(\u0027negative\u0027)"},{"line_number":161,"context_line":"    def test_secret_create_nones(self):"},{"line_number":162,"context_line":"        \"\"\"Cover case of posting with all nones in the Secret object.\"\"\""},{"line_number":163,"context_line":"        test_model \u003d self.behaviors.create_secret("},{"line_number":164,"context_line":"            secret_create_nones_data)"}],"source_content_type":"text/x-python","patch_set":6,"id":"9a80dd14_053c4e92","line":161,"updated":"2015-03-20 01:37:13.000000000","message":"suggested rename: test_secret_create_all_none","commit_id":"d5c560e7daee8d67010cafa3fc6a9e76195f9606"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"e83932bc6515b65c4e628ac6eb6d8f21350316e1","unresolved":false,"context_lines":[{"line_number":161,"context_line":"    def test_secret_create_nones(self):"},{"line_number":162,"context_line":"        \"\"\"Cover case of posting with all nones in the Secret object.\"\"\""},{"line_number":163,"context_line":"        test_model \u003d self.behaviors.create_secret("},{"line_number":164,"context_line":"            secret_create_nones_data)"},{"line_number":165,"context_line":"        test_model.payload \u003d None"},{"line_number":166,"context_line":"        test_model.payload_content_encoding \u003d None"},{"line_number":167,"context_line":"        test_model.payload_content_type \u003d None"}],"source_content_type":"text/x-python","patch_set":6,"id":"9a80dd14_c54dd63c","line":164,"updated":"2015-03-20 01:37:13.000000000","message":"kinda odd that secret_create_nones_data has actual data for payload stuff.  Might be good to rename it (line 34) to something like secret_create_no_metadata_data :-)","commit_id":"d5c560e7daee8d67010cafa3fc6a9e76195f9606"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"e83932bc6515b65c4e628ac6eb6d8f21350316e1","unresolved":false,"context_lines":[{"line_number":173,"context_line":"        )"},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"    @testcase.attr(\u0027negative\u0027)"},{"line_number":176,"context_line":"    def test_secret_get_secret_doesnt_exist(self):"},{"line_number":177,"context_line":"        \"\"\"GET an invalid secret ref."},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"        Will get value error secret incorrectly specified since \"notauuid\""}],"source_content_type":"text/x-python","patch_set":6,"id":"9a80dd14_a569c28d","line":176,"updated":"2015-03-20 01:37:13.000000000","message":"suggested rename: test_secret_get_invalid_secret_ref_format","commit_id":"d5c560e7daee8d67010cafa3fc6a9e76195f9606"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"e83932bc6515b65c4e628ac6eb6d8f21350316e1","unresolved":false,"context_lines":[{"line_number":187,"context_line":"        self.assertIn(\"Secret incorrectly specified\", e.message)"},{"line_number":188,"context_line":""},{"line_number":189,"context_line":"    @testcase.attr(\u0027negative\u0027)"},{"line_number":190,"context_line":"    def test_secret_create_defaults_expiration_passed(self):"},{"line_number":191,"context_line":"        \"\"\"Create a secret with an expiration that has already passed."},{"line_number":192,"context_line":""},{"line_number":193,"context_line":"        Returns a 400."}],"source_content_type":"text/x-python","patch_set":6,"id":"9a80dd14_0531aea1","line":190,"updated":"2015-03-20 01:37:13.000000000","message":"suggested rename: test_secret_create_with_expiration_in_the_past","commit_id":"d5c560e7daee8d67010cafa3fc6a9e76195f9606"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"e83932bc6515b65c4e628ac6eb6d8f21350316e1","unresolved":false,"context_lines":[{"line_number":213,"context_line":"            exceptions.NoPayloadException,"},{"line_number":214,"context_line":"            self.behaviors.store_secret,"},{"line_number":215,"context_line":"            test_model"},{"line_number":216,"context_line":"        )"},{"line_number":217,"context_line":""},{"line_number":218,"context_line":"    @testcase.attr(\u0027negative\u0027)"},{"line_number":219,"context_line":"    def test_secret_create_defaults_oversized_payload(self):"}],"source_content_type":"text/x-python","patch_set":6,"id":"9a80dd14_85cafe6b","line":216,"updated":"2015-03-20 01:37:13.000000000","message":"add a test for the error text like we do in line 187","commit_id":"d5c560e7daee8d67010cafa3fc6a9e76195f9606"},{"author":{"_account_id":13510,"name":"Thomas Dinkjian","email":"thomas.dinkjian@rackspace.com","username":"tdink"},"change_message_id":"2354623a1af6fd38560df7de1d1b88c4ac8af57f","unresolved":false,"context_lines":[{"line_number":213,"context_line":"            exceptions.NoPayloadException,"},{"line_number":214,"context_line":"            self.behaviors.store_secret,"},{"line_number":215,"context_line":"            test_model"},{"line_number":216,"context_line":"        )"},{"line_number":217,"context_line":""},{"line_number":218,"context_line":"    @testcase.attr(\u0027negative\u0027)"},{"line_number":219,"context_line":"    def test_secret_create_defaults_oversized_payload(self):"}],"source_content_type":"text/x-python","patch_set":6,"id":"9a80dd14_6e9f9050","line":216,"in_reply_to":"9a80dd14_85cafe6b","updated":"2015-03-20 15:29:58.000000000","message":"The new form of exceptions do not have error text.","commit_id":"d5c560e7daee8d67010cafa3fc6a9e76195f9606"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"e83932bc6515b65c4e628ac6eb6d8f21350316e1","unresolved":false,"context_lines":[{"line_number":216,"context_line":"        )"},{"line_number":217,"context_line":""},{"line_number":218,"context_line":"    @testcase.attr(\u0027negative\u0027)"},{"line_number":219,"context_line":"    def test_secret_create_defaults_oversized_payload(self):"},{"line_number":220,"context_line":"        \"\"\"Create a secret that is larger than the max payload size."},{"line_number":221,"context_line":""},{"line_number":222,"context_line":"        Should return a 413 if the secret size is greater than the"}],"source_content_type":"text/x-python","patch_set":6,"id":"9a80dd14_05a60ec1","line":219,"updated":"2015-03-20 01:37:13.000000000","message":"suggested rename: test_secret_create_w_oversized_payload","commit_id":"d5c560e7daee8d67010cafa3fc6a9e76195f9606"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"e83932bc6515b65c4e628ac6eb6d8f21350316e1","unresolved":false,"context_lines":[{"line_number":217,"context_line":""},{"line_number":218,"context_line":"    @testcase.attr(\u0027negative\u0027)"},{"line_number":219,"context_line":"    def test_secret_create_defaults_oversized_payload(self):"},{"line_number":220,"context_line":"        \"\"\"Create a secret that is larger than the max payload size."},{"line_number":221,"context_line":""},{"line_number":222,"context_line":"        Should return a 413 if the secret size is greater than the"},{"line_number":223,"context_line":"        maximum allowed size."}],"source_content_type":"text/x-python","patch_set":6,"id":"9a80dd14_a59c626b","line":220,"updated":"2015-03-20 01:37:13.000000000","message":"its the payload that is larger than max payload, not the entire secret","commit_id":"d5c560e7daee8d67010cafa3fc6a9e76195f9606"},{"author":{"_account_id":13510,"name":"Thomas Dinkjian","email":"thomas.dinkjian@rackspace.com","username":"tdink"},"change_message_id":"2354623a1af6fd38560df7de1d1b88c4ac8af57f","unresolved":false,"context_lines":[{"line_number":217,"context_line":""},{"line_number":218,"context_line":"    @testcase.attr(\u0027negative\u0027)"},{"line_number":219,"context_line":"    def test_secret_create_defaults_oversized_payload(self):"},{"line_number":220,"context_line":"        \"\"\"Create a secret that is larger than the max payload size."},{"line_number":221,"context_line":""},{"line_number":222,"context_line":"        Should return a 413 if the secret size is greater than the"},{"line_number":223,"context_line":"        maximum allowed size."}],"source_content_type":"text/x-python","patch_set":6,"id":"9a80dd14_6ec6b04a","line":220,"in_reply_to":"9a80dd14_a59c626b","updated":"2015-03-20 15:29:58.000000000","message":"Done","commit_id":"d5c560e7daee8d67010cafa3fc6a9e76195f9606"}]}
