)]}'
{"functionaltests/api/v1/smoke/test_rsa.py":[{"author":{"_account_id":7262,"name":"John Vrbanac","email":"john.vrbanac@linux.com","username":"john.vrbanac"},"change_message_id":"c83b41b5d3602ef0ac6ce7fa7ce551d86ca91e99","unresolved":false,"context_lines":[{"line_number":167,"context_line":"    @testcase.attr(\u0027positive\u0027)"},{"line_number":168,"context_line":"    def test_rsa_store_and_get_public_key(self):"},{"line_number":169,"context_line":"        \"\"\"Post and Get for public key\"\"\""},{"line_number":170,"context_line":"        self.store_public_key()"},{"line_number":171,"context_line":"        self.get_public_key()"},{"line_number":172,"context_line":"        self.verify_public_key_equal()"},{"line_number":173,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3ab451fb_a3d0a054","line":170,"updated":"2015-04-17 15:05:14.000000000","message":"While I like the helper methods to clear up what\u0027s going on here, It isn\u0027t a good practice to build state on the test case outside of setUp or setUpClass. Personally, I would much prefer the helper functions to take in data they need to operate and then return the resulting data for other operations.","commit_id":"501d3e99a17d5e4219f53e507101b768fbe56180"},{"author":{"_account_id":11561,"name":"Dave McCowan","email":"dmccowan@cisco.com","username":"dave-mccowan"},"change_message_id":"199ecede328cde8c96377bf2a72df724981d9f20","unresolved":false,"context_lines":[{"line_number":167,"context_line":"    @testcase.attr(\u0027positive\u0027)"},{"line_number":168,"context_line":"    def test_rsa_store_and_get_public_key(self):"},{"line_number":169,"context_line":"        \"\"\"Post and Get for public key\"\"\""},{"line_number":170,"context_line":"        self.store_public_key()"},{"line_number":171,"context_line":"        self.get_public_key()"},{"line_number":172,"context_line":"        self.verify_public_key_equal()"},{"line_number":173,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3ab451fb_3173abb3","line":170,"in_reply_to":"3ab451fb_a3d0a054","updated":"2015-04-17 20:02:16.000000000","message":"Done","commit_id":"501d3e99a17d5e4219f53e507101b768fbe56180"},{"author":{"_account_id":7262,"name":"John Vrbanac","email":"john.vrbanac@linux.com","username":"john.vrbanac"},"change_message_id":"c83b41b5d3602ef0ac6ce7fa7ce551d86ca91e99","unresolved":false,"context_lines":[{"line_number":316,"context_line":"        pem \u003d keys.get_private_key_pkcs8()"},{"line_number":317,"context_line":"        test_model \u003d secret_models.SecretModel("},{"line_number":318,"context_line":"            **get_private_key_req(base64.b64encode(pem)))"},{"line_number":319,"context_line":"        resp, self.private_key_secret_ref \u003d\\"},{"line_number":320,"context_line":"            self.secret_behaviors.create_secret(test_model)"},{"line_number":321,"context_line":"        self.assertEqual(201, resp.status_code)"},{"line_number":322,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3ab451fb_43467c24","line":319,"updated":"2015-04-17 15:05:14.000000000","message":"backslashes should only be used as a last resort","commit_id":"501d3e99a17d5e4219f53e507101b768fbe56180"},{"author":{"_account_id":11561,"name":"Dave McCowan","email":"dmccowan@cisco.com","username":"dave-mccowan"},"change_message_id":"199ecede328cde8c96377bf2a72df724981d9f20","unresolved":false,"context_lines":[{"line_number":316,"context_line":"        pem \u003d keys.get_private_key_pkcs8()"},{"line_number":317,"context_line":"        test_model \u003d secret_models.SecretModel("},{"line_number":318,"context_line":"            **get_private_key_req(base64.b64encode(pem)))"},{"line_number":319,"context_line":"        resp, self.private_key_secret_ref \u003d\\"},{"line_number":320,"context_line":"            self.secret_behaviors.create_secret(test_model)"},{"line_number":321,"context_line":"        self.assertEqual(201, resp.status_code)"},{"line_number":322,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3ab451fb_914ddf74","line":319,"in_reply_to":"3ab451fb_43467c24","updated":"2015-04-17 20:02:16.000000000","message":"Done","commit_id":"501d3e99a17d5e4219f53e507101b768fbe56180"}]}
