)]}'
{"keystone/tests/unit/test_config.py":[{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"285aeffb03ee23d2b0c7710113e852d37c7626de","unresolved":false,"context_lines":[{"line_number":19,"context_line":"from keystone import config"},{"line_number":20,"context_line":"from keystone import exception"},{"line_number":21,"context_line":"from keystone.tests import unit as tests"},{"line_number":22,"context_line":"from keystone.tests.unit.ksfixtures import database"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"CONF \u003d cfg.CONF"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a50d1a3_d0c8a524","line":22,"updated":"2015-07-22 14:40:17.000000000","message":"It\u0027s really necessary this import? i think you can use tests.ksfixtures.database ^^","commit_id":"32879c83bc5eb10b212c0d264189607dddb517cb"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"76abbf1b3275256b82dfde9d0d594f7b8fdc9627","unresolved":false,"context_lines":[{"line_number":19,"context_line":"from keystone import config"},{"line_number":20,"context_line":"from keystone import exception"},{"line_number":21,"context_line":"from keystone.tests import unit as tests"},{"line_number":22,"context_line":"from keystone.tests.unit.ksfixtures import database"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"CONF \u003d cfg.CONF"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a50d1a3_b9d60b4d","line":22,"in_reply_to":"3a50d1a3_59082728","updated":"2015-07-23 00:58:51.000000000","message":"i\u0027ve try with tests.ksfixtures.database.initialize_sql_session() and work","commit_id":"32879c83bc5eb10b212c0d264189607dddb517cb"},{"author":{"_account_id":16523,"name":"ZhangLei","display_name":"ZhangLei","email":"zhang.lei@99cloud.net","username":"zhang.lei"},"change_message_id":"ae6e2badd68e0cd59d5cd17a3bb512f4e057ecd9","unresolved":false,"context_lines":[{"line_number":19,"context_line":"from keystone import config"},{"line_number":20,"context_line":"from keystone import exception"},{"line_number":21,"context_line":"from keystone.tests import unit as tests"},{"line_number":22,"context_line":"from keystone.tests.unit.ksfixtures import database"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"CONF \u003d cfg.CONF"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a50d1a3_eebda802","line":22,"in_reply_to":"3a50d1a3_b9d60b4d","updated":"2015-07-23 02:00:56.000000000","message":"if i use tests.ksfixtures.database.initialize_sql_session(), it will report \u0027Undefined variable from import: database\u0027, and when i try to run the unit test case, it will report \"AttributeError: \u0027module\u0027 object has no attribute \u0027database\u0027\". So i think it does not support.","commit_id":"32879c83bc5eb10b212c0d264189607dddb517cb"},{"author":{"_account_id":13063,"name":"WEI CHEN","email":"dave.jungler@gmail.com","username":"wei.d.chen"},"change_message_id":"b7cff8bf904fde5399bf34e8edc6b6a58f4bfa9c","unresolved":false,"context_lines":[{"line_number":19,"context_line":"from keystone import config"},{"line_number":20,"context_line":"from keystone import exception"},{"line_number":21,"context_line":"from keystone.tests import unit as tests"},{"line_number":22,"context_line":"from keystone.tests.unit.ksfixtures import database"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"CONF \u003d cfg.CONF"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a50d1a3_59082728","line":22,"in_reply_to":"3a50d1a3_d0c8a524","updated":"2015-07-23 00:53:50.000000000","message":"are you sure your path is correct? what\u0027s the advantage over the import? thanks.","commit_id":"32879c83bc5eb10b212c0d264189607dddb517cb"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"8e83559104d33da93fdd065b2ed980cdaa564fef","unresolved":false,"context_lines":[{"line_number":19,"context_line":"from keystone import config"},{"line_number":20,"context_line":"from keystone import exception"},{"line_number":21,"context_line":"from keystone.tests import unit as tests"},{"line_number":22,"context_line":"from keystone.tests.unit.ksfixtures import database"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"CONF \u003d cfg.CONF"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a50d1a3_ae07a080","line":22,"in_reply_to":"3a50d1a3_eebda802","updated":"2015-07-23 02:12:04.000000000","message":"I have tested and does\u0027t send any errors here ^^ no problem, nice work","commit_id":"32879c83bc5eb10b212c0d264189607dddb517cb"},{"author":{"_account_id":4,"name":"Dolph Mathews","email":"dolph.mathews@gmail.com","username":"dolph"},"change_message_id":"2bc26d32d05fb96e4b7a598361eee6dd84d97986","unresolved":false,"context_lines":[{"line_number":63,"context_line":"        # Options in [sql] were moved to [database] in Icehouse for the change"},{"line_number":64,"context_line":"        # to use oslo-incubator\u0027s db.sqlalchemy.sessions."},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"        database.initialize_sql_session()"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"        self.assertEqual(\u0027sqlite://deprecated\u0027, CONF.database.connection)"},{"line_number":69,"context_line":"        self.assertEqual(54321, CONF.database.idle_timeout)"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a50d1a3_2ff11f95","line":66,"updated":"2015-07-23 16:42:14.000000000","message":"this should be done as part of setUp, not as part of the test itself","commit_id":"32879c83bc5eb10b212c0d264189607dddb517cb"}]}
