)]}'
{"cue/tests/manage/__init__.py":[{"author":{"_account_id":5390,"name":"Steve Leon","username":"steve-leon","inactive":true},"change_message_id":"cf7b7f50b9e2605ca7070eee6a5f4baeaad1067c","unresolved":false,"context_lines":[{"line_number":1,"context_line":"__author__ \u003d \u0027danielallegood\u0027"}],"source_content_type":"text/x-python","patch_set":4,"id":"7aaa499b_dc17f0eb","line":1,"updated":"2015-04-13 22:21:28.000000000","message":"Not to say you arent the author but this file should be blank. It\u0027s an openstack standard :)","commit_id":"dfb85e0a8e3463d6a64d58be31ac41fc8f826a0a"}],"cue/tests/manage/database/__init__.py":[{"author":{"_account_id":5390,"name":"Steve Leon","username":"steve-leon","inactive":true},"change_message_id":"cf7b7f50b9e2605ca7070eee6a5f4baeaad1067c","unresolved":false,"context_lines":[{"line_number":1,"context_line":"__author__ \u003d \u0027danielallegood\u0027"}],"source_content_type":"text/x-python","patch_set":4,"id":"7aaa499b_9cd84855","line":1,"updated":"2015-04-13 22:21:28.000000000","message":"Same here :)","commit_id":"dfb85e0a8e3463d6a64d58be31ac41fc8f826a0a"}],"cue/tests/unit/manage/database/test_migration.py":[{"author":{"_account_id":5390,"name":"Steve Leon","username":"steve-leon","inactive":true},"change_message_id":"37816823abf28bc0ac7ec0252891ebcb68645af6","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"        self.cue_manage_database \u003d cue_db.DatabaseCommands()"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"        flags(connection\u003d\"sqlite:////tmp/test_migration.db\","},{"line_number":57,"context_line":"                   group\u003d\"database\")"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"    @mock.patch(\u0027oslo.db.sqlalchemy.migration_cli.manager.\u0027"}],"source_content_type":"text/x-python","patch_set":9,"id":"5ad0253b_0979d9fc","line":56,"updated":"2015-04-28 17:23:42.000000000","message":"We can use the in-memory DB for these tests. Which is better since we wont need to create a file.","commit_id":"ea3ca0fdb8a4e9b0f9855f56224ce7c2bf500a28"},{"author":{"_account_id":15904,"name":"Daniel Allegood","email":"daniel.allegood@hp.com","username":"dkalleg"},"change_message_id":"34694853a741af53e7a683653183f8c730cb9429","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"        self.cue_manage_database \u003d cue_db.DatabaseCommands()"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"        flags(connection\u003d\"sqlite:////tmp/test_migration.db\","},{"line_number":57,"context_line":"                   group\u003d\"database\")"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"    @mock.patch(\u0027oslo.db.sqlalchemy.migration_cli.manager.\u0027"}],"source_content_type":"text/x-python","patch_set":9,"id":"5ad0253b_8de4cc0d","line":56,"in_reply_to":"5ad0253b_0979d9fc","updated":"2015-04-28 20:32:10.000000000","message":"Done","commit_id":"ea3ca0fdb8a4e9b0f9855f56224ce7c2bf500a28"},{"author":{"_account_id":13771,"name":"Davide Agnello","email":"dagnello@hp.com","username":"dagnello"},"change_message_id":"52330ac482569cb82985b8b24fd3ad70f709d38c","unresolved":false,"context_lines":[{"line_number":67,"context_line":""},{"line_number":68,"context_line":"    @mock.patch(\u0027oslo.db.sqlalchemy.migration_cli.manager.\u0027"},{"line_number":69,"context_line":"                \u0027MigrationManager.upgrade\u0027)"},{"line_number":70,"context_line":"    def test_upgrade(self, mock_oslo_upgrade):"},{"line_number":71,"context_line":"        \"\"\"Verifies cue-manage database upgrade call.\"\"\""},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"        self.cue_manage_database.upgrade(None)"}],"source_content_type":"text/x-python","patch_set":9,"id":"bab921fb_5c0b8d8e","line":70,"updated":"2015-04-24 23:07:25.000000000","message":"does it make sense to have a test where we pass in the version we would like to upgrade to?\n(same with the upgrade if applicable)","commit_id":"ea3ca0fdb8a4e9b0f9855f56224ce7c2bf500a28"},{"author":{"_account_id":15904,"name":"Daniel Allegood","email":"daniel.allegood@hp.com","username":"dkalleg"},"change_message_id":"d89f268c82d5163eb9b6ee5681dbf1d5ed7b45ce","unresolved":false,"context_lines":[{"line_number":67,"context_line":""},{"line_number":68,"context_line":"    @mock.patch(\u0027oslo.db.sqlalchemy.migration_cli.manager.\u0027"},{"line_number":69,"context_line":"                \u0027MigrationManager.upgrade\u0027)"},{"line_number":70,"context_line":"    def test_upgrade(self, mock_oslo_upgrade):"},{"line_number":71,"context_line":"        \"\"\"Verifies cue-manage database upgrade call.\"\"\""},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"        self.cue_manage_database.upgrade(None)"}],"source_content_type":"text/x-python","patch_set":9,"id":"bab921fb_375592f9","line":70,"in_reply_to":"bab921fb_5c0b8d8e","updated":"2015-04-27 19:06:13.000000000","message":"I think for the functional tests, yes.  This unit test mocks out the oslo MigrationManager.upgrade() function, and up to that point, the argument (\"head\" or \"+1\" or \u003cversion_id\u003e) hasn\u0027t been evaluated yet.  It is still just getting passed along to the lower apis.","commit_id":"ea3ca0fdb8a4e9b0f9855f56224ce7c2bf500a28"}]}
