)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"dedfd7c4bbf9cbadceabf2c645fc892a8dfe3af0","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Adds first round of secrets functional tests"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This adds the first round of secre functional tests."},{"line_number":10,"context_line":"Also includes several changes to the secret behaviors to capture"},{"line_number":11,"context_line":"errors prodcued by the client. Error handling for the client is currently"},{"line_number":12,"context_line":"under review so many of the asserts and behaviors will change in the future."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"da86d52c_e9ed15b9","line":9,"updated":"2015-02-06 16:54:23.000000000","message":"typo - secre","commit_id":"bd794e84cb50ca00898f401f2681402074ca6974"},{"author":{"_account_id":13510,"name":"Thomas Dinkjian","email":"thomas.dinkjian@rackspace.com","username":"tdink"},"change_message_id":"e288a54470cdd378e895edc1a6127000e27a1a95","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Adds first round of secrets functional tests"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This adds the first round of secre functional tests."},{"line_number":10,"context_line":"Also includes several changes to the secret behaviors to capture"},{"line_number":11,"context_line":"errors prodcued by the client. Error handling for the client is currently"},{"line_number":12,"context_line":"under review so many of the asserts and behaviors will change in the future."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"da86d52c_6c5bf32e","line":9,"in_reply_to":"da86d52c_e9ed15b9","updated":"2015-02-06 17:14:14.000000000","message":"Done","commit_id":"bd794e84cb50ca00898f401f2681402074ca6974"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"dedfd7c4bbf9cbadceabf2c645fc892a8dfe3af0","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This adds the first round of secre functional tests."},{"line_number":10,"context_line":"Also includes several changes to the secret behaviors to capture"},{"line_number":11,"context_line":"errors prodcued by the client. Error handling for the client is currently"},{"line_number":12,"context_line":"under review so many of the asserts and behaviors will change in the future."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: If6d3687500cfdde71f04099d5e73c9b1e03c59c2"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"da86d52c_4934614a","line":11,"updated":"2015-02-06 16:54:23.000000000","message":"typo - prodcued","commit_id":"bd794e84cb50ca00898f401f2681402074ca6974"},{"author":{"_account_id":13510,"name":"Thomas Dinkjian","email":"thomas.dinkjian@rackspace.com","username":"tdink"},"change_message_id":"e288a54470cdd378e895edc1a6127000e27a1a95","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This adds the first round of secre functional tests."},{"line_number":10,"context_line":"Also includes several changes to the secret behaviors to capture"},{"line_number":11,"context_line":"errors prodcued by the client. Error handling for the client is currently"},{"line_number":12,"context_line":"under review so many of the asserts and behaviors will change in the future."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: If6d3687500cfdde71f04099d5e73c9b1e03c59c2"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"da86d52c_8c3f47b5","line":11,"in_reply_to":"da86d52c_4934614a","updated":"2015-02-06 17:14:14.000000000","message":"Done","commit_id":"bd794e84cb50ca00898f401f2681402074ca6974"}],"functionaltests/client/v1/behaviors/secret_behaviors.py":[{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"dedfd7c4bbf9cbadceabf2c645fc892a8dfe3af0","unresolved":false,"context_lines":[{"line_number":35,"context_line":"        :param secret: A barbican client secret object"},{"line_number":36,"context_line":"        :return: The ref to the created secret"},{"line_number":37,"context_line":"        \"\"\""},{"line_number":38,"context_line":"        try:"},{"line_number":39,"context_line":"            resp \u003d secret.store()"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"            if resp:"}],"source_content_type":"text/x-python","patch_set":1,"id":"da86d52c_a9215dfe","line":38,"updated":"2015-02-06 16:54:23.000000000","message":"I would rather see the tests themselves handle this - then they can assert raises.","commit_id":"bd794e84cb50ca00898f401f2681402074ca6974"},{"author":{"_account_id":13510,"name":"Thomas Dinkjian","email":"thomas.dinkjian@rackspace.com","username":"tdink"},"change_message_id":"e288a54470cdd378e895edc1a6127000e27a1a95","unresolved":false,"context_lines":[{"line_number":35,"context_line":"        :param secret: A barbican client secret object"},{"line_number":36,"context_line":"        :return: The ref to the created secret"},{"line_number":37,"context_line":"        \"\"\""},{"line_number":38,"context_line":"        try:"},{"line_number":39,"context_line":"            resp \u003d secret.store()"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"            if resp:"}],"source_content_type":"text/x-python","patch_set":1,"id":"da86d52c_ccb77f39","line":38,"in_reply_to":"da86d52c_a9215dfe","updated":"2015-02-06 17:14:14.000000000","message":"This is not something I want to change at this time. We are currently looking at redoing all/most error handling in the client and would prefer to wait till those changes occur till we finalize error handling.","commit_id":"bd794e84cb50ca00898f401f2681402074ca6974"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"c253118770e3ebba8e426275e6cae47bab22f459","unresolved":false,"context_lines":[{"line_number":38,"context_line":"        :param secret: A barbican client secret object"},{"line_number":39,"context_line":"        :return: The ref to the created secret"},{"line_number":40,"context_line":"        \"\"\""},{"line_number":41,"context_line":"        try:"},{"line_number":42,"context_line":"            resp \u003d secret.store()"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"            if resp:"}],"source_content_type":"text/x-python","patch_set":2,"id":"da86d52c_fde06f98","line":41,"updated":"2015-02-06 18:57:55.000000000","message":"Hmmm...this is not a typical exception handling structure. The client of these methods should be handling exceptions as they see fit, and that should not affect how this method is written.","commit_id":"21ad48317252f26d325d8c282f135997c64ae0c6"}],"functionaltests/client/v1/functional/test_secrets.py":[{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"dedfd7c4bbf9cbadceabf2c645fc892a8dfe3af0","unresolved":false,"context_lines":[{"line_number":83,"context_line":"        test_model.payload \u003d None"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"        secret_ref \u003d self.behaviors.store_secret(test_model)"},{"line_number":86,"context_line":"        self.assertEqual(type(secret_ref), ValueError)"},{"line_number":87,"context_line":"        self.assertIn(\u0027Content type cannot be none\u0027, secret_ref.message)"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"    @testcase.attr(\u0027positive\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"da86d52c_c975b1fb","line":86,"updated":"2015-02-06 16:54:23.000000000","message":"should use assert raises here","commit_id":"bd794e84cb50ca00898f401f2681402074ca6974"},{"author":{"_account_id":13510,"name":"Thomas Dinkjian","email":"thomas.dinkjian@rackspace.com","username":"tdink"},"change_message_id":"e288a54470cdd378e895edc1a6127000e27a1a95","unresolved":false,"context_lines":[{"line_number":83,"context_line":"        test_model.payload \u003d None"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"        secret_ref \u003d self.behaviors.store_secret(test_model)"},{"line_number":86,"context_line":"        self.assertEqual(type(secret_ref), ValueError)"},{"line_number":87,"context_line":"        self.assertIn(\u0027Content type cannot be none\u0027, secret_ref.message)"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"    @testcase.attr(\u0027positive\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"da86d52c_cc185f21","line":86,"in_reply_to":"da86d52c_c975b1fb","updated":"2015-02-06 17:14:14.000000000","message":"Done","commit_id":"bd794e84cb50ca00898f401f2681402074ca6974"},{"author":{"_account_id":7262,"name":"John Vrbanac","email":"john.vrbanac@linux.com","username":"john.vrbanac"},"change_message_id":"4029759726ed89f5b0f5dff1442ca35c11f9aabd","unresolved":false,"context_lines":[{"line_number":35,"context_line":"# but will be omitted in the final request to the server."},{"line_number":36,"context_line":"#"},{"line_number":37,"context_line":"# secret_create_nones_data is effectively an empty json request to the server."},{"line_number":38,"context_line":"# Barbican client will not allow none data in the payload."},{"line_number":39,"context_line":"secret_create_nones_data \u003d {"},{"line_number":40,"context_line":"    \"name\": None,"},{"line_number":41,"context_line":"    \"expiration\": None,"}],"source_content_type":"text/x-python","patch_set":3,"id":"da86d52c_120c1b94","line":38,"updated":"2015-02-09 15:42:40.000000000","message":"Is this needed with the Barbican client? I thought that It should properly create a model without setting a bunch of stuff to None. I could be wrong though.","commit_id":"23f6580c47d403a405cadc01b7f4599b90f71b0f"},{"author":{"_account_id":13510,"name":"Thomas Dinkjian","email":"thomas.dinkjian@rackspace.com","username":"tdink"},"change_message_id":"76bcd58e7c2842a63c0f27963eb1d4127f4814a8","unresolved":false,"context_lines":[{"line_number":35,"context_line":"# but will be omitted in the final request to the server."},{"line_number":36,"context_line":"#"},{"line_number":37,"context_line":"# secret_create_nones_data is effectively an empty json request to the server."},{"line_number":38,"context_line":"# Barbican client will not allow none data in the payload."},{"line_number":39,"context_line":"secret_create_nones_data \u003d {"},{"line_number":40,"context_line":"    \"name\": None,"},{"line_number":41,"context_line":"    \"expiration\": None,"}],"source_content_type":"text/x-python","patch_set":3,"id":"da86d52c_7550e15e","line":38,"in_reply_to":"da86d52c_120c1b94","updated":"2015-02-09 17:21:29.000000000","message":"You are correct his is not needed for client. Forgot to remove it form this set of tests.","commit_id":"23f6580c47d403a405cadc01b7f4599b90f71b0f"},{"author":{"_account_id":7262,"name":"John Vrbanac","email":"john.vrbanac@linux.com","username":"john.vrbanac"},"change_message_id":"4029759726ed89f5b0f5dff1442ca35c11f9aabd","unresolved":false,"context_lines":[{"line_number":112,"context_line":"        \u0027invalid\u0027: [\u0027invalid\u0027]"},{"line_number":113,"context_line":"    })"},{"line_number":114,"context_line":"    @testcase.attr(\u0027positive\u0027)"},{"line_number":115,"context_line":"    def test_secret_create_defaults_valid_algorithms(self, algorithm):"},{"line_number":116,"context_line":"        \"\"\"Creates secrets with various valid algorithms.\"\"\""},{"line_number":117,"context_line":"        test_model \u003d self.behaviors.create_secret("},{"line_number":118,"context_line":"            secret_create_defaults_data)"}],"source_content_type":"text/x-python","patch_set":3,"id":"da86d52c_726477e5","line":115,"updated":"2015-02-09 15:42:40.000000000","message":"Why does this name say \"valid\" but the dataset has \"invalid\"? Shouldn\u0027t this actually be testing valid algorithm values?","commit_id":"23f6580c47d403a405cadc01b7f4599b90f71b0f"},{"author":{"_account_id":13510,"name":"Thomas Dinkjian","email":"thomas.dinkjian@rackspace.com","username":"tdink"},"change_message_id":"76bcd58e7c2842a63c0f27963eb1d4127f4814a8","unresolved":false,"context_lines":[{"line_number":112,"context_line":"        \u0027invalid\u0027: [\u0027invalid\u0027]"},{"line_number":113,"context_line":"    })"},{"line_number":114,"context_line":"    @testcase.attr(\u0027positive\u0027)"},{"line_number":115,"context_line":"    def test_secret_create_defaults_valid_algorithms(self, algorithm):"},{"line_number":116,"context_line":"        \"\"\"Creates secrets with various valid algorithms.\"\"\""},{"line_number":117,"context_line":"        test_model \u003d self.behaviors.create_secret("},{"line_number":118,"context_line":"            secret_create_defaults_data)"}],"source_content_type":"text/x-python","patch_set":3,"id":"da86d52c_30aaf7d4","line":115,"in_reply_to":"da86d52c_726477e5","updated":"2015-02-09 17:21:29.000000000","message":"Done","commit_id":"23f6580c47d403a405cadc01b7f4599b90f71b0f"},{"author":{"_account_id":7262,"name":"John Vrbanac","email":"john.vrbanac@linux.com","username":"john.vrbanac"},"change_message_id":"4029759726ed89f5b0f5dff1442ca35c11f9aabd","unresolved":false,"context_lines":[{"line_number":148,"context_line":""},{"line_number":149,"context_line":"    @utils.parameterized_dataset({"},{"line_number":150,"context_line":"        \u0027cbc\u0027: [\u0027cbc\u0027],"},{"line_number":151,"context_line":"        \u0027unknown_positive\u0027: [\u0027unknown\u0027]"},{"line_number":152,"context_line":"    })"},{"line_number":153,"context_line":"    @testcase.attr(\u0027positive\u0027)"},{"line_number":154,"context_line":"    def test_secret_create_defaults_valid_mode(self, mode):"}],"source_content_type":"text/x-python","patch_set":3,"id":"da86d52c_f26227ac","line":151,"updated":"2015-02-09 15:42:40.000000000","message":"What\u0027s this? If it\u0027s not a plausible mode value, then it shouldn\u0027t be included.","commit_id":"23f6580c47d403a405cadc01b7f4599b90f71b0f"},{"author":{"_account_id":13510,"name":"Thomas Dinkjian","email":"thomas.dinkjian@rackspace.com","username":"tdink"},"change_message_id":"76bcd58e7c2842a63c0f27963eb1d4127f4814a8","unresolved":false,"context_lines":[{"line_number":148,"context_line":""},{"line_number":149,"context_line":"    @utils.parameterized_dataset({"},{"line_number":150,"context_line":"        \u0027cbc\u0027: [\u0027cbc\u0027],"},{"line_number":151,"context_line":"        \u0027unknown_positive\u0027: [\u0027unknown\u0027]"},{"line_number":152,"context_line":"    })"},{"line_number":153,"context_line":"    @testcase.attr(\u0027positive\u0027)"},{"line_number":154,"context_line":"    def test_secret_create_defaults_valid_mode(self, mode):"}],"source_content_type":"text/x-python","patch_set":3,"id":"da86d52c_f19dc058","line":151,"in_reply_to":"da86d52c_f26227ac","updated":"2015-02-09 17:21:29.000000000","message":"Done","commit_id":"23f6580c47d403a405cadc01b7f4599b90f71b0f"},{"author":{"_account_id":7262,"name":"John Vrbanac","email":"john.vrbanac@linux.com","username":"john.vrbanac"},"change_message_id":"4029759726ed89f5b0f5dff1442ca35c11f9aabd","unresolved":false,"context_lines":[{"line_number":182,"context_line":"            \u0027payload_content_encoding\u0027: \u0027base64\u0027}"},{"line_number":183,"context_line":"    })"},{"line_number":184,"context_line":"    @testcase.attr(\u0027positive\u0027)"},{"line_number":185,"context_line":"    def test_secret_create_defaults_valid_types_and_encoding(self, **kwargs):"},{"line_number":186,"context_line":"        \"\"\"Creates secrets with various content types and encodings.\"\"\""},{"line_number":187,"context_line":"        test_model \u003d self.behaviors.create_secret(secret_create_defaults_data)"},{"line_number":188,"context_line":"        test_model.payload_content_encoding \u003d kwargs["}],"source_content_type":"text/x-python","patch_set":3,"id":"da86d52c_f2bea7d3","line":185,"updated":"2015-02-09 15:42:40.000000000","message":"Due to the way you\u0027re using the data, I would probably switch this from kwargs to content_encoding and content_type parameters.","commit_id":"23f6580c47d403a405cadc01b7f4599b90f71b0f"},{"author":{"_account_id":13510,"name":"Thomas Dinkjian","email":"thomas.dinkjian@rackspace.com","username":"tdink"},"change_message_id":"76bcd58e7c2842a63c0f27963eb1d4127f4814a8","unresolved":false,"context_lines":[{"line_number":182,"context_line":"            \u0027payload_content_encoding\u0027: \u0027base64\u0027}"},{"line_number":183,"context_line":"    })"},{"line_number":184,"context_line":"    @testcase.attr(\u0027positive\u0027)"},{"line_number":185,"context_line":"    def test_secret_create_defaults_valid_types_and_encoding(self, **kwargs):"},{"line_number":186,"context_line":"        \"\"\"Creates secrets with various content types and encodings.\"\"\""},{"line_number":187,"context_line":"        test_model \u003d self.behaviors.create_secret(secret_create_defaults_data)"},{"line_number":188,"context_line":"        test_model.payload_content_encoding \u003d kwargs["}],"source_content_type":"text/x-python","patch_set":3,"id":"da86d52c_70ab8fd6","line":185,"in_reply_to":"da86d52c_f2bea7d3","updated":"2015-02-09 17:21:29.000000000","message":"Done","commit_id":"23f6580c47d403a405cadc01b7f4599b90f71b0f"},{"author":{"_account_id":7262,"name":"John Vrbanac","email":"john.vrbanac@linux.com","username":"john.vrbanac"},"change_message_id":"c4f66fb0c3b0f1c6beee6888f4cd89ef03a9d0ef","unresolved":false,"context_lines":[{"line_number":31,"context_line":"    \"payload_content_encoding\": \"base64\","},{"line_number":32,"context_line":"}"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"secret_create_nones_data \u003d {"},{"line_number":35,"context_line":"    \"name\": None,"},{"line_number":36,"context_line":"    \"expiration\": None,"},{"line_number":37,"context_line":"    \"algorithm\": None,"}],"source_content_type":"text/x-python","patch_set":4,"id":"da86d52c_1181748f","line":34,"updated":"2015-02-09 17:32:34.000000000","message":"You removed the comment, but not the data","commit_id":"b471757b7b67b781045012bffd0175f8d77074c4"},{"author":{"_account_id":13510,"name":"Thomas Dinkjian","email":"thomas.dinkjian@rackspace.com","username":"tdink"},"change_message_id":"a27c07d34f7fc66ed4b39d1db0e5bc6dc9113cdc","unresolved":false,"context_lines":[{"line_number":31,"context_line":"    \"payload_content_encoding\": \"base64\","},{"line_number":32,"context_line":"}"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"secret_create_nones_data \u003d {"},{"line_number":35,"context_line":"    \"name\": None,"},{"line_number":36,"context_line":"    \"expiration\": None,"},{"line_number":37,"context_line":"    \"algorithm\": None,"}],"source_content_type":"text/x-python","patch_set":4,"id":"da86d52c_5a505cd4","line":34,"in_reply_to":"da86d52c_1181748f","updated":"2015-02-09 23:25:46.000000000","message":"We still use the nones data field as an easy way to set the optional fields to none. So if I want just a name field we would use nones and override name. The comment is not relevant because the client will not accept a request with a a payload so there is no empty json request like the API has.","commit_id":"b471757b7b67b781045012bffd0175f8d77074c4"},{"author":{"_account_id":7262,"name":"John Vrbanac","email":"john.vrbanac@linux.com","username":"john.vrbanac"},"change_message_id":"c4f66fb0c3b0f1c6beee6888f4cd89ef03a9d0ef","unresolved":false,"context_lines":[{"line_number":105,"context_line":""},{"line_number":106,"context_line":"    @utils.parameterized_dataset({"},{"line_number":107,"context_line":"        \u0027aes\u0027: [\u0027aes\u0027],"},{"line_number":108,"context_line":"        \u0027not_a_real_algorithm_but_accepted\u0027: [\u0027not-an-algorithm\u0027]"},{"line_number":109,"context_line":"    })"},{"line_number":110,"context_line":"    @testcase.attr(\u0027positive\u0027)"},{"line_number":111,"context_line":"    def test_secret_create_defaults_valid_algorithms(self, algorithm):"}],"source_content_type":"text/x-python","patch_set":4,"id":"da86d52c_b47176aa","line":108,"updated":"2015-02-09 17:32:34.000000000","message":"Remove. This is not a valid algorithm type. Just because a field can accept random information doesn\u0027t mean it\u0027s a \"valid\" or \"supported\" value. If you\u0027re testing edge cases for the kinds of content a field can take, that should be done in a different test.","commit_id":"b471757b7b67b781045012bffd0175f8d77074c4"},{"author":{"_account_id":13510,"name":"Thomas Dinkjian","email":"thomas.dinkjian@rackspace.com","username":"tdink"},"change_message_id":"a27c07d34f7fc66ed4b39d1db0e5bc6dc9113cdc","unresolved":false,"context_lines":[{"line_number":105,"context_line":""},{"line_number":106,"context_line":"    @utils.parameterized_dataset({"},{"line_number":107,"context_line":"        \u0027aes\u0027: [\u0027aes\u0027],"},{"line_number":108,"context_line":"        \u0027not_a_real_algorithm_but_accepted\u0027: [\u0027not-an-algorithm\u0027]"},{"line_number":109,"context_line":"    })"},{"line_number":110,"context_line":"    @testcase.attr(\u0027positive\u0027)"},{"line_number":111,"context_line":"    def test_secret_create_defaults_valid_algorithms(self, algorithm):"}],"source_content_type":"text/x-python","patch_set":4,"id":"da86d52c_c4838bca","line":108,"in_reply_to":"da86d52c_b47176aa","updated":"2015-02-09 23:25:46.000000000","message":"Done","commit_id":"b471757b7b67b781045012bffd0175f8d77074c4"},{"author":{"_account_id":7262,"name":"John Vrbanac","email":"john.vrbanac@linux.com","username":"john.vrbanac"},"change_message_id":"c4f66fb0c3b0f1c6beee6888f4cd89ef03a9d0ef","unresolved":false,"context_lines":[{"line_number":144,"context_line":""},{"line_number":145,"context_line":"    @utils.parameterized_dataset({"},{"line_number":146,"context_line":"        \u0027cbc\u0027: [\u0027cbc\u0027],"},{"line_number":147,"context_line":"        \u0027not_a_real_mode_but_accepted\u0027: [\u0027not-a-mode\u0027]"},{"line_number":148,"context_line":"    })"},{"line_number":149,"context_line":"    @testcase.attr(\u0027positive\u0027)"},{"line_number":150,"context_line":"    def test_secret_create_defaults_valid_mode(self, mode):"}],"source_content_type":"text/x-python","patch_set":4,"id":"da86d52c_549bdac8","line":147,"updated":"2015-02-09 17:32:34.000000000","message":"Same as above only with modes","commit_id":"b471757b7b67b781045012bffd0175f8d77074c4"},{"author":{"_account_id":13510,"name":"Thomas Dinkjian","email":"thomas.dinkjian@rackspace.com","username":"tdink"},"change_message_id":"a27c07d34f7fc66ed4b39d1db0e5bc6dc9113cdc","unresolved":false,"context_lines":[{"line_number":144,"context_line":""},{"line_number":145,"context_line":"    @utils.parameterized_dataset({"},{"line_number":146,"context_line":"        \u0027cbc\u0027: [\u0027cbc\u0027],"},{"line_number":147,"context_line":"        \u0027not_a_real_mode_but_accepted\u0027: [\u0027not-a-mode\u0027]"},{"line_number":148,"context_line":"    })"},{"line_number":149,"context_line":"    @testcase.attr(\u0027positive\u0027)"},{"line_number":150,"context_line":"    def test_secret_create_defaults_valid_mode(self, mode):"}],"source_content_type":"text/x-python","patch_set":4,"id":"da86d52c_046da332","line":147,"in_reply_to":"da86d52c_549bdac8","updated":"2015-02-09 23:25:46.000000000","message":"Done","commit_id":"b471757b7b67b781045012bffd0175f8d77074c4"},{"author":{"_account_id":7262,"name":"John Vrbanac","email":"john.vrbanac@linux.com","username":"john.vrbanac"},"change_message_id":"7de992ec449bf714a19d6e265222de596c9cd859","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"da86d52c_34a58647","updated":"2015-02-09 17:47:19.000000000","message":"Please address my comments in Patch 4","commit_id":"7a9818ecfe5ae6882f13bcadd7321a10813d99ac"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"33712c081fd16aeafd668e5623dcc9c57aa44706","unresolved":false,"context_lines":[{"line_number":82,"context_line":"                         test_model.payload_content_type)"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"    @testcase.attr(\u0027positive\u0027)"},{"line_number":85,"context_line":"    def test_secret_create_defaults_non_standard_algorithm(self):"},{"line_number":86,"context_line":"        \"\"\"Create a secret with a non standard algorithm.\"\"\""},{"line_number":87,"context_line":"        test_model \u003d self.behaviors.create_secret("},{"line_number":88,"context_line":"            secret_create_defaults_data)"}],"source_content_type":"text/x-python","patch_set":7,"id":"da86d52c_aa18f984","line":85,"updated":"2015-02-10 16:34:48.000000000","message":"should be data driven","commit_id":"19e5eca58b94e9e2adb0b3caad61520f4d8ab56c"},{"author":{"_account_id":13510,"name":"Thomas Dinkjian","email":"thomas.dinkjian@rackspace.com","username":"tdink"},"change_message_id":"15dab45bf3a9699bb3c3878f090e7d06b2f8a4fa","unresolved":false,"context_lines":[{"line_number":82,"context_line":"                         test_model.payload_content_type)"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"    @testcase.attr(\u0027positive\u0027)"},{"line_number":85,"context_line":"    def test_secret_create_defaults_non_standard_algorithm(self):"},{"line_number":86,"context_line":"        \"\"\"Create a secret with a non standard algorithm.\"\"\""},{"line_number":87,"context_line":"        test_model \u003d self.behaviors.create_secret("},{"line_number":88,"context_line":"            secret_create_defaults_data)"}],"source_content_type":"text/x-python","patch_set":7,"id":"da86d52c_751a6618","line":85,"in_reply_to":"da86d52c_aa18f984","updated":"2015-02-10 16:43:53.000000000","message":"I thought the point of isolating these tests was to have edge cases in there own test. Putting multiple edge cases in the same DD test seems counter to moving them to be independent tests.","commit_id":"19e5eca58b94e9e2adb0b3caad61520f4d8ab56c"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"33712c081fd16aeafd668e5623dcc9c57aa44706","unresolved":false,"context_lines":[{"line_number":83,"context_line":""},{"line_number":84,"context_line":"    @testcase.attr(\u0027positive\u0027)"},{"line_number":85,"context_line":"    def test_secret_create_defaults_non_standard_algorithm(self):"},{"line_number":86,"context_line":"        \"\"\"Create a secret with a non standard algorithm.\"\"\""},{"line_number":87,"context_line":"        test_model \u003d self.behaviors.create_secret("},{"line_number":88,"context_line":"            secret_create_defaults_data)"},{"line_number":89,"context_line":"        test_model.algorithm \u003d \"not-an-algorithm\""}],"source_content_type":"text/x-python","patch_set":7,"id":"da86d52c_6a2fe1a1","line":86,"updated":"2015-02-10 16:34:48.000000000","message":"would like to see a comment here explaining why this is a positive test (ie the algorithm name isn\u0027t validated at secret create time so any valid string can be successfully used.  Will help the next person who has to look at this code.","commit_id":"19e5eca58b94e9e2adb0b3caad61520f4d8ab56c"},{"author":{"_account_id":13510,"name":"Thomas Dinkjian","email":"thomas.dinkjian@rackspace.com","username":"tdink"},"change_message_id":"15dab45bf3a9699bb3c3878f090e7d06b2f8a4fa","unresolved":false,"context_lines":[{"line_number":83,"context_line":""},{"line_number":84,"context_line":"    @testcase.attr(\u0027positive\u0027)"},{"line_number":85,"context_line":"    def test_secret_create_defaults_non_standard_algorithm(self):"},{"line_number":86,"context_line":"        \"\"\"Create a secret with a non standard algorithm.\"\"\""},{"line_number":87,"context_line":"        test_model \u003d self.behaviors.create_secret("},{"line_number":88,"context_line":"            secret_create_defaults_data)"},{"line_number":89,"context_line":"        test_model.algorithm \u003d \"not-an-algorithm\""}],"source_content_type":"text/x-python","patch_set":7,"id":"da86d52c_95151ae7","line":86,"in_reply_to":"da86d52c_6a2fe1a1","updated":"2015-02-10 16:43:53.000000000","message":"Done","commit_id":"19e5eca58b94e9e2adb0b3caad61520f4d8ab56c"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"33712c081fd16aeafd668e5623dcc9c57aa44706","unresolved":false,"context_lines":[{"line_number":95,"context_line":"        self.assertEqual(get_resp.algorithm, test_model.algorithm)"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"    @testcase.attr(\u0027positive\u0027)"},{"line_number":98,"context_line":"    def test_secret_create_defaults_non_standard_mode(self):"},{"line_number":99,"context_line":"        \"\"\"Create a secret with a non standard mode.\"\"\""},{"line_number":100,"context_line":"        test_model \u003d self.behaviors.create_secret("},{"line_number":101,"context_line":"            secret_create_defaults_data)"}],"source_content_type":"text/x-python","patch_set":7,"id":"da86d52c_4a077d1d","line":98,"updated":"2015-02-10 16:34:48.000000000","message":"same as above - should be data driven and also a comment explaining why its positive.","commit_id":"19e5eca58b94e9e2adb0b3caad61520f4d8ab56c"},{"author":{"_account_id":13510,"name":"Thomas Dinkjian","email":"thomas.dinkjian@rackspace.com","username":"tdink"},"change_message_id":"15dab45bf3a9699bb3c3878f090e7d06b2f8a4fa","unresolved":false,"context_lines":[{"line_number":95,"context_line":"        self.assertEqual(get_resp.algorithm, test_model.algorithm)"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"    @testcase.attr(\u0027positive\u0027)"},{"line_number":98,"context_line":"    def test_secret_create_defaults_non_standard_mode(self):"},{"line_number":99,"context_line":"        \"\"\"Create a secret with a non standard mode.\"\"\""},{"line_number":100,"context_line":"        test_model \u003d self.behaviors.create_secret("},{"line_number":101,"context_line":"            secret_create_defaults_data)"}],"source_content_type":"text/x-python","patch_set":7,"id":"da86d52c_b5d3fe36","line":98,"in_reply_to":"da86d52c_4a077d1d","updated":"2015-02-10 16:43:53.000000000","message":"Done","commit_id":"19e5eca58b94e9e2adb0b3caad61520f4d8ab56c"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"d2e232178666bd3e8f8bd0bd2938795c271e0fa0","unresolved":false,"context_lines":[{"line_number":82,"context_line":"                         test_model.payload_content_type)"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"    @testcase.attr(\u0027positive\u0027)"},{"line_number":85,"context_line":"    def test_secret_create_defaults_non_standard_algorithm(self):"},{"line_number":86,"context_line":"        \"\"\"Create a secret with a non standard algorithm."},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"         Currently the client will accept any string for the algorithm."}],"source_content_type":"text/x-python","patch_set":8,"id":"da86d52c_87edebb9","line":85,"updated":"2015-02-10 17:36:47.000000000","message":"the idea is that there is a set of non-standard values that we can test with - they would be in the dataset.","commit_id":"5a71a3dbc8fa9512f9cf2bc0910f1fd6a7779be2"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"bdebe262775be44bfe6f0a8f88883857f3dd4a7b","unresolved":false,"context_lines":[{"line_number":82,"context_line":"                         test_model.payload_content_type)"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"    @testcase.attr(\u0027positive\u0027)"},{"line_number":85,"context_line":"    def test_secret_create_defaults_non_standard_algorithm(self):"},{"line_number":86,"context_line":"        \"\"\"Create a secret with a non standard algorithm."},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"         Currently the client will accept any string for the algorithm."}],"source_content_type":"text/x-python","patch_set":8,"id":"da86d52c_798a5765","line":85,"in_reply_to":"da86d52c_472053b0","updated":"2015-02-10 20:09:34.000000000","message":"Spoke with jvrbanac and reaperhulk about this.  These fields are not used for anything other than storing in the barbican DB and retrieved when getting metadata.  \n\njvrbanac had a good suggestion about how to refactor these tests such that the coverage and usefulness improves, so we will address that as part of https://bugs.launchpad.net/barbican/+bug/1420467","commit_id":"5a71a3dbc8fa9512f9cf2bc0910f1fd6a7779be2"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"bd92472e1c43408641ceee242966ab927fb77941","unresolved":false,"context_lines":[{"line_number":82,"context_line":"                         test_model.payload_content_type)"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"    @testcase.attr(\u0027positive\u0027)"},{"line_number":85,"context_line":"    def test_secret_create_defaults_non_standard_algorithm(self):"},{"line_number":86,"context_line":"        \"\"\"Create a secret with a non standard algorithm."},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"         Currently the client will accept any string for the algorithm."}],"source_content_type":"text/x-python","patch_set":8,"id":"da86d52c_472053b0","line":85,"in_reply_to":"da86d52c_878ecbce","updated":"2015-02-10 17:42:50.000000000","message":"No, the idea is to separate \"sunny day\" from \"edge\".  If there are 10 different algs then they would all go in the valid test, and we could get creative with various values for the non-standard test.","commit_id":"5a71a3dbc8fa9512f9cf2bc0910f1fd6a7779be2"},{"author":{"_account_id":13510,"name":"Thomas Dinkjian","email":"thomas.dinkjian@rackspace.com","username":"tdink"},"change_message_id":"c38ae62202e82a363c410ef184ac4fbcef948a0f","unresolved":false,"context_lines":[{"line_number":82,"context_line":"                         test_model.payload_content_type)"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"    @testcase.attr(\u0027positive\u0027)"},{"line_number":85,"context_line":"    def test_secret_create_defaults_non_standard_algorithm(self):"},{"line_number":86,"context_line":"        \"\"\"Create a secret with a non standard algorithm."},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"         Currently the client will accept any string for the algorithm."}],"source_content_type":"text/x-python","patch_set":8,"id":"da86d52c_878ecbce","line":85,"in_reply_to":"da86d52c_87edebb9","updated":"2015-02-10 17:40:31.000000000","message":"Wouldn\u0027t different edge cases be as different from one another as they are from expected cases. I thought they purpose of separating them was to add unique comments and separate the functionality of unique edge cases.","commit_id":"5a71a3dbc8fa9512f9cf2bc0910f1fd6a7779be2"}]}
