)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"3ce2c6f23f932b0bc2a12e64557f6fc4a3755740","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Added test to check that an expired secret cannot be retrieved"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Added a single test the creates and expires a secret."},{"line_number":10,"context_line":"The test then checks that secret can no longer be retrieved."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: Iaf2a250f4f554509cdef1adf82ca1682a0047e0b"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"5a890539_4fe6b2b5","line":9,"updated":"2014-11-13 17:01:15.000000000","message":"\"that creates\"","commit_id":"927f65028ef933d409729637ffab09dc357082b6"}],"functionaltests/api/v1/functional/test_secrets.py":[{"author":{"_account_id":11970,"name":"Chelsea Winfree","email":"chelsea.winfree@gmail.com","username":"chellygel"},"change_message_id":"00dc37814d16e2abdaf0a5b85aa270d8cd1a936a","unresolved":false,"context_lines":[{"line_number":610,"context_line":""},{"line_number":611,"context_line":"    @testcase.attr(\u0027negative\u0027)"},{"line_number":612,"context_line":"    def test_secret_create_defaults_then_expire_then_check(self):"},{"line_number":613,"context_line":"        \"\"\"Covers case where you create a secret that will soon"},{"line_number":614,"context_line":""},{"line_number":615,"context_line":"        expire.  After it expires, check it and verify that it"},{"line_number":616,"context_line":"        is no longer a valid secret."}],"source_content_type":"text/x-python","patch_set":1,"id":"5a890539_6a30bce8","line":613,"updated":"2014-11-13 17:07:28.000000000","message":"I think this should be a descriptive title followed by a space then a paragraph describing it according to hacking?\n\nEX:\n\n\"\"\"Verifies expired secret is no longer valid.\n\nLengthy description here\n\"\"\"","commit_id":"927f65028ef933d409729637ffab09dc357082b6"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"3ce2c6f23f932b0bc2a12e64557f6fc4a3755740","unresolved":false,"context_lines":[{"line_number":610,"context_line":""},{"line_number":611,"context_line":"    @testcase.attr(\u0027negative\u0027)"},{"line_number":612,"context_line":"    def test_secret_create_defaults_then_expire_then_check(self):"},{"line_number":613,"context_line":"        \"\"\"Covers case where you create a secret that will soon"},{"line_number":614,"context_line":""},{"line_number":615,"context_line":"        expire.  After it expires, check it and verify that it"},{"line_number":616,"context_line":"        is no longer a valid secret."}],"source_content_type":"text/x-python","patch_set":1,"id":"5a890539_4f94f2e1","line":613,"updated":"2014-11-13 17:01:15.000000000","message":"need to fix the top line","commit_id":"927f65028ef933d409729637ffab09dc357082b6"},{"author":{"_account_id":11970,"name":"Chelsea Winfree","email":"chelsea.winfree@gmail.com","username":"chellygel"},"change_message_id":"00dc37814d16e2abdaf0a5b85aa270d8cd1a936a","unresolved":false,"context_lines":[{"line_number":617,"context_line":"        \"\"\""},{"line_number":618,"context_line":""},{"line_number":619,"context_line":"        # create a secret that expires in 20 seconds"},{"line_number":620,"context_line":"        timestamp \u003d utils.create_timestamp_w_tz_and_offset(seconds\u003d20)"},{"line_number":621,"context_line":""},{"line_number":622,"context_line":"        test_model \u003d secret_models.SecretModel(**secret_create_defaults_data)"},{"line_number":623,"context_line":"        overrides \u003d {\"expiration\": timestamp}"}],"source_content_type":"text/x-python","patch_set":1,"id":"5a890539_6a5efc13","line":620,"updated":"2014-11-13 17:07:28.000000000","message":"Why was 20 seconds chosen? It seems a bit lengthy?","commit_id":"927f65028ef933d409729637ffab09dc357082b6"},{"author":{"_account_id":11970,"name":"Chelsea Winfree","email":"chelsea.winfree@gmail.com","username":"chellygel"},"change_message_id":"00dc37814d16e2abdaf0a5b85aa270d8cd1a936a","unresolved":false,"context_lines":[{"line_number":631,"context_line":"        self.assertEqual(get_resp.status_code, 200)"},{"line_number":632,"context_line":""},{"line_number":633,"context_line":"        # now wait 25 seconds"},{"line_number":634,"context_line":"        time.sleep(25)"},{"line_number":635,"context_line":""},{"line_number":636,"context_line":"        # now get the secret - should be invalid (expired)"},{"line_number":637,"context_line":"        resp \u003d self.behaviors.get_secret_metadata(secret_ref)"}],"source_content_type":"text/x-python","patch_set":1,"id":"5a890539_4aba2024","line":634,"updated":"2014-11-13 17:07:28.000000000","message":"I think this will take too long -- perhaps reducing the times down?","commit_id":"927f65028ef933d409729637ffab09dc357082b6"}]}
