)]}'
{"keystone/tests/unit/test_sql_upgrade.py":[{"author":{"_account_id":13063,"name":"WEI CHEN","email":"dave.jungler@gmail.com","username":"wei.d.chen"},"change_message_id":"0735a24b22f69b69fa9bd580d0af8931c4684587","unresolved":false,"context_lines":[{"line_number":19,"context_line":"1. Set up a blank, live database."},{"line_number":20,"context_line":"2. Run the tests using one of the following::"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"    tox -e py27-mysql"},{"line_number":23,"context_line":"    tox -e py27-postgresql"},{"line_number":24,"context_line":"    tox -e py35-mysql"},{"line_number":25,"context_line":"    tox -e py35-postgresql"},{"line_number":26,"context_line":"    tox -e py27-all"},{"line_number":27,"context_line":"    tox -e py35-all"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"For further documentation, see `oslo documentation"},{"line_number":30,"context_line":"\u003chttp://docs.openstack.org/developer/oslo.db/contributing.html#how-to-run-unit-tests\u003e`_."}],"source_content_type":"text/x-python","patch_set":2,"id":"ba5201f7_29adf79a","line":27,"range":{"start_line":22,"start_character":0,"end_line":27,"end_character":19},"updated":"2017-01-08 10:18:03.000000000","message":"I usually set \u0027OS_TEST_DBAPI_ADMIN_CONNECTION\u0027 before executing those testcases in keystone project, the above command does work with oslo.db project (I tried it) but it seems not working in keystone project.\n\n    $ tox -e py27-mysql\n    ERROR: unknown environment \u0027py27-mysql\u0027","commit_id":"d0c404a9de03facad1c1bf84e18f0091760d5b12"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"06b3133a59455522a70303797f368d4e2bcdb55e","unresolved":false,"context_lines":[{"line_number":19,"context_line":"1. Set up a blank, live database."},{"line_number":20,"context_line":"2. Run the tests using one of the following::"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"    tox -e py27-mysql"},{"line_number":23,"context_line":"    tox -e py27-postgresql"},{"line_number":24,"context_line":"    tox -e py35-mysql"},{"line_number":25,"context_line":"    tox -e py35-postgresql"},{"line_number":26,"context_line":"    tox -e py27-all"},{"line_number":27,"context_line":"    tox -e py35-all"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"For further documentation, see `oslo documentation"},{"line_number":30,"context_line":"\u003chttp://docs.openstack.org/developer/oslo.db/contributing.html#how-to-run-unit-tests\u003e`_."}],"source_content_type":"text/x-python","patch_set":2,"id":"ba5201f7_4d9f8e50","line":27,"range":{"start_line":22,"start_character":0,"end_line":27,"end_character":19},"in_reply_to":"ba5201f7_29adf79a","updated":"2017-01-09 13:26:04.000000000","message":"I\u0027d leave \"tox -e py27 -- keystone.tests.unit.test_sql_upgrade\" since it runs the tests of the existing databases and skip if any of them are not present.","commit_id":"d0c404a9de03facad1c1bf84e18f0091760d5b12"},{"author":{"_account_id":20466,"name":"Tin Lam","email":"tin@lam.wtf","username":"tinlam"},"change_message_id":"26f2cc2c31c22be23349ffde27de49c8fe563413","unresolved":false,"context_lines":[{"line_number":19,"context_line":"1. Set up a blank, live database."},{"line_number":20,"context_line":"2. Run the tests using one of the following::"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"    tox -e py27-mysql"},{"line_number":23,"context_line":"    tox -e py27-postgresql"},{"line_number":24,"context_line":"    tox -e py35-mysql"},{"line_number":25,"context_line":"    tox -e py35-postgresql"},{"line_number":26,"context_line":"    tox -e py27-all"},{"line_number":27,"context_line":"    tox -e py35-all"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"For further documentation, see `oslo documentation"},{"line_number":30,"context_line":"\u003chttp://docs.openstack.org/developer/oslo.db/contributing.html#how-to-run-unit-tests\u003e`_."}],"source_content_type":"text/x-python","patch_set":2,"id":"ba5201f7_ebb90acd","line":27,"range":{"start_line":22,"start_character":0,"end_line":27,"end_character":19},"in_reply_to":"ba5201f7_4d9f8e50","updated":"2017-01-09 15:46:29.000000000","message":"Done","commit_id":"d0c404a9de03facad1c1bf84e18f0091760d5b12"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"06b3133a59455522a70303797f368d4e2bcdb55e","unresolved":false,"context_lines":[{"line_number":27,"context_line":"    tox -e py35-all"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"For further documentation, see `oslo documentation"},{"line_number":30,"context_line":"\u003chttp://docs.openstack.org/developer/oslo.db/contributing.html#how-to-run-unit-tests\u003e`_."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"WARNING::"},{"line_number":33,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ba5201f7_2dc96a5b","line":30,"range":{"start_line":30,"start_character":0,"end_line":30,"end_character":85},"updated":"2017-01-09 13:26:04.000000000","message":"we have some steps here that needed to be done before running the tests, like exporting OS_DBAPI_ADMIN_CONNECTION. Maybe you can add some details present in the page before the step 2.","commit_id":"d0c404a9de03facad1c1bf84e18f0091760d5b12"},{"author":{"_account_id":20466,"name":"Tin Lam","email":"tin@lam.wtf","username":"tinlam"},"change_message_id":"26f2cc2c31c22be23349ffde27de49c8fe563413","unresolved":false,"context_lines":[{"line_number":27,"context_line":"    tox -e py35-all"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"For further documentation, see `oslo documentation"},{"line_number":30,"context_line":"\u003chttp://docs.openstack.org/developer/oslo.db/contributing.html#how-to-run-unit-tests\u003e`_."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"WARNING::"},{"line_number":33,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ba5201f7_e503f2bc","line":30,"range":{"start_line":30,"start_character":0,"end_line":30,"end_character":85},"in_reply_to":"ba5201f7_2dc96a5b","updated":"2017-01-09 15:46:29.000000000","message":"Done","commit_id":"d0c404a9de03facad1c1bf84e18f0091760d5b12"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"7ee5cd4e06928cd5672fb03ef5f519f047a07a16","unresolved":false,"context_lines":[{"line_number":23,"context_line":"    export OS_TEST_DBAPI_ADMIN_CONNECTION\u003dpostgresql://localhost/postgres?host\u003d"},{"line_number":24,"context_line":"    /var/folders/7k/pwdhb_mj2cv4zyr0kyrlzjx40000gq/T/tmpMGqN8C\u0026port\u003d9824"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"3. Run `pifpaf` to set up a database needed for unittests::"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    eval `pifpaf -g OS_TEST_DBAPI_ADMIN_CONNECTION run postgresql`"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"4. Run the tests using::"},{"line_number":31,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"ba5201f7_17402407","line":28,"range":{"start_line":26,"start_character":0,"end_line":28,"end_character":66},"updated":"2017-01-09 17:18:33.000000000","message":"when running locally, I never did that... Maybe remove (and also step 5), since looks optional?","commit_id":"60bb0c1566611aa531dc819f9e7fadf4de583c21"},{"author":{"_account_id":20466,"name":"Tin Lam","email":"tin@lam.wtf","username":"tinlam"},"change_message_id":"f46ca85d6ff9c2a85e4215847aebbdd284d643ab","unresolved":false,"context_lines":[{"line_number":23,"context_line":"    export OS_TEST_DBAPI_ADMIN_CONNECTION\u003dpostgresql://localhost/postgres?host\u003d"},{"line_number":24,"context_line":"    /var/folders/7k/pwdhb_mj2cv4zyr0kyrlzjx40000gq/T/tmpMGqN8C\u0026port\u003d9824"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"3. Run `pifpaf` to set up a database needed for unittests::"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    eval `pifpaf -g OS_TEST_DBAPI_ADMIN_CONNECTION run postgresql`"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"4. Run the tests using::"},{"line_number":31,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"ba5201f7_f7bd60d8","line":28,"range":{"start_line":26,"start_character":0,"end_line":28,"end_character":66},"in_reply_to":"ba5201f7_17402407","updated":"2017-01-09 17:21:49.000000000","message":"Done","commit_id":"60bb0c1566611aa531dc819f9e7fadf4de583c21"}]}
