)]}'
{"doc/source/contributor/testing-keystone.rst":[{"author":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"change_message_id":"110d64a40a4a7e9e23ecea0f9e79c9baa14c3323","unresolved":false,"context_lines":[{"line_number":60,"context_line":"    $ tox -e py27,pep8"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"Use ``tox --listenvs`` to list all testing environments specified in keystone\u0027s"},{"line_number":63,"context_line":"``tox.ini`` file."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"Interactive debugging"},{"line_number":66,"context_line":"~~~~~~~~~~~~~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ff82abbf_1b20c9f6","line":63,"updated":"2017-11-28 20:41:02.000000000","message":"Nice, I didn\u0027t know about that.","commit_id":"5fc65ab29435577a5f0d5c2d20b620845c822ebd"},{"author":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"change_message_id":"110d64a40a4a7e9e23ecea0f9e79c9baa14c3323","unresolved":false,"context_lines":[{"line_number":74,"context_line":""},{"line_number":75,"context_line":".. code-block:: bash"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    $ tox -e debug keystone.tests.unit.test_auth.AuthWithToken.test_belongs_to"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"For reference, the ``debug`` environment implements the instructions here:"},{"line_number":80,"context_line":"https://wiki.openstack.org/wiki/Testr#Debugging_.28pdb.29_Tests"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ff82abbf_dbc90126","line":77,"updated":"2017-11-28 20:41:02.000000000","message":"This isn\u0027t a real test, let\u0027s update it to something current?","commit_id":"5fc65ab29435577a5f0d5c2d20b620845c822ebd"},{"author":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"change_message_id":"7fc066ddced2e13c543cc56072fa7fadaca49a97","unresolved":false,"context_lines":[{"line_number":74,"context_line":""},{"line_number":75,"context_line":".. code-block:: bash"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    $ tox -e debug keystone.tests.unit.test_auth.AuthWithToken.test_belongs_to"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"For reference, the ``debug`` environment implements the instructions here:"},{"line_number":80,"context_line":"https://wiki.openstack.org/wiki/Testr#Debugging_.28pdb.29_Tests"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ff82abbf_a182cafe","line":77,"in_reply_to":"ff82abbf_7e7463cf","updated":"2017-11-28 21:55:00.000000000","message":"Yeah that makes more sense","commit_id":"5fc65ab29435577a5f0d5c2d20b620845c822ebd"},{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"a35f11f3df20544a1c85514738e671f353f854fe","unresolved":false,"context_lines":[{"line_number":74,"context_line":""},{"line_number":75,"context_line":".. code-block:: bash"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    $ tox -e debug keystone.tests.unit.test_auth.AuthWithToken.test_belongs_to"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"For reference, the ``debug`` environment implements the instructions here:"},{"line_number":80,"context_line":"https://wiki.openstack.org/wiki/Testr#Debugging_.28pdb.29_Tests"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ff82abbf_7e7463cf","line":77,"in_reply_to":"ff82abbf_dbc90126","updated":"2017-11-28 21:51:38.000000000","message":"Yeah - that or make it a general example so we don\u0027t have to keep updating it to something current?","commit_id":"5fc65ab29435577a5f0d5c2d20b620845c822ebd"},{"author":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"change_message_id":"110d64a40a4a7e9e23ecea0f9e79c9baa14c3323","unresolved":false,"context_lines":[{"line_number":90,"context_line":"to be discarded even if the test fails: `OS_STDOUT_CAPTURE` for stdout,"},{"line_number":91,"context_line":"`OS_STDERR_CAPTURE` for stderr and `OS_LOG_CAPTURE` for logging. If the value"},{"line_number":92,"context_line":"of the environment variable is not one of (``True``, ``true``, ``1``, ``yes``)"},{"line_number":93,"context_line":"the stream will be discarded. All three variables default to ``1``."},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"For example, to discard logging data during a test run:"},{"line_number":96,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ff82abbf_bbb99d79","line":93,"updated":"2017-11-28 20:41:02.000000000","message":"How does this actually work? I\u0027m not seeing a difference when running tests with OS_STDOUT_CAPTURE\u003d1 or 0. Does this come from ostestr automatically or is this something we are supposed to have in our tox.ini/.testr.conf?","commit_id":"5fc65ab29435577a5f0d5c2d20b620845c822ebd"},{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"a35f11f3df20544a1c85514738e671f353f854fe","unresolved":false,"context_lines":[{"line_number":90,"context_line":"to be discarded even if the test fails: `OS_STDOUT_CAPTURE` for stdout,"},{"line_number":91,"context_line":"`OS_STDERR_CAPTURE` for stderr and `OS_LOG_CAPTURE` for logging. If the value"},{"line_number":92,"context_line":"of the environment variable is not one of (``True``, ``true``, ``1``, ``yes``)"},{"line_number":93,"context_line":"the stream will be discarded. All three variables default to ``1``."},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"For example, to discard logging data during a test run:"},{"line_number":96,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ff82abbf_61e922e4","line":93,"in_reply_to":"ff82abbf_bbb99d79","updated":"2017-11-28 21:51:38.000000000","message":"Removed per IRC discussion: \n\nhttp://eavesdrop.openstack.org/irclogs/%23openstack-qa/%23openstack-qa.2017-11-28.log.html#t2017-11-28T21:34:23","commit_id":"5fc65ab29435577a5f0d5c2d20b620845c822ebd"},{"author":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"change_message_id":"110d64a40a4a7e9e23ecea0f9e79c9baa14c3323","unresolved":false,"context_lines":[{"line_number":202,"context_line":""},{"line_number":203,"context_line":"* While doing test-driven-development they can be used to add tests to a review"},{"line_number":204,"context_line":"  while they are not yet working and will not cause test failures. They can be"},{"line_number":205,"context_line":"  removed or fixed when functionality fixed in a later patch set."},{"line_number":206,"context_line":"* A common practice is to recreate bugs by exposing the broken behavior in a"},{"line_number":207,"context_line":"  functional or unit test. To encapsulate the correct behavior in the test, the"},{"line_number":208,"context_line":"  test will usually assert the correct outcome, which will break without a fix."}],"source_content_type":"text/x-rst","patch_set":1,"id":"ff82abbf_fb364503","line":205,"range":{"start_line":205,"start_character":19,"end_line":205,"end_character":44},"updated":"2017-11-28 20:41:02.000000000","message":"when the functionality is fixed","commit_id":"5fc65ab29435577a5f0d5c2d20b620845c822ebd"},{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"a35f11f3df20544a1c85514738e671f353f854fe","unresolved":false,"context_lines":[{"line_number":202,"context_line":""},{"line_number":203,"context_line":"* While doing test-driven-development they can be used to add tests to a review"},{"line_number":204,"context_line":"  while they are not yet working and will not cause test failures. They can be"},{"line_number":205,"context_line":"  removed or fixed when functionality fixed in a later patch set."},{"line_number":206,"context_line":"* A common practice is to recreate bugs by exposing the broken behavior in a"},{"line_number":207,"context_line":"  functional or unit test. To encapsulate the correct behavior in the test, the"},{"line_number":208,"context_line":"  test will usually assert the correct outcome, which will break without a fix."}],"source_content_type":"text/x-rst","patch_set":1,"id":"ff82abbf_e1ebf20f","line":205,"range":{"start_line":205,"start_character":19,"end_line":205,"end_character":44},"in_reply_to":"ff82abbf_fb364503","updated":"2017-11-28 21:51:38.000000000","message":"Done","commit_id":"5fc65ab29435577a5f0d5c2d20b620845c822ebd"},{"author":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"change_message_id":"110d64a40a4a7e9e23ecea0f9e79c9baa14c3323","unresolved":false,"context_lines":[{"line_number":241,"context_line":"--------------------"},{"line_number":242,"context_line":""},{"line_number":243,"context_line":"Keystone provides API and scenario tests via a `tempest plugin`_ which is"},{"line_number":244,"context_line":"located in a seperate `repository`_. This tempest plugin is mainly intended for"},{"line_number":245,"context_line":"specific scenarios that require a special deployment, such as the tests for the"},{"line_number":246,"context_line":"``Federated Identity`` feature or live testing against LDAP. For the deployment"},{"line_number":247,"context_line":"of these scenarios, keystone also provides a `devstack plugin`_."}],"source_content_type":"text/x-rst","patch_set":1,"id":"ff82abbf_3b010d07","line":244,"range":{"start_line":244,"start_character":13,"end_line":244,"end_character":21},"updated":"2017-11-28 20:41:02.000000000","message":"separate","commit_id":"5fc65ab29435577a5f0d5c2d20b620845c822ebd"},{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"a35f11f3df20544a1c85514738e671f353f854fe","unresolved":false,"context_lines":[{"line_number":241,"context_line":"--------------------"},{"line_number":242,"context_line":""},{"line_number":243,"context_line":"Keystone provides API and scenario tests via a `tempest plugin`_ which is"},{"line_number":244,"context_line":"located in a seperate `repository`_. This tempest plugin is mainly intended for"},{"line_number":245,"context_line":"specific scenarios that require a special deployment, such as the tests for the"},{"line_number":246,"context_line":"``Federated Identity`` feature or live testing against LDAP. For the deployment"},{"line_number":247,"context_line":"of these scenarios, keystone also provides a `devstack plugin`_."}],"source_content_type":"text/x-rst","patch_set":1,"id":"ff82abbf_21e55a38","line":244,"range":{"start_line":244,"start_character":13,"end_line":244,"end_character":21},"in_reply_to":"ff82abbf_3b010d07","updated":"2017-11-28 21:51:38.000000000","message":"Done","commit_id":"5fc65ab29435577a5f0d5c2d20b620845c822ebd"},{"author":{"_account_id":21420,"name":"Gage Hugo","email":"gagehugo@gmail.com","username":"ghugo"},"change_message_id":"c897479f244aaadab1e5833477615835336c4f7d","unresolved":false,"context_lines":[{"line_number":84,"context_line":""},{"line_number":85,"context_line":"The ``docs`` and ``api-ref`` environments will automatically generate"},{"line_number":86,"context_line":"documentation and the API reference respectively. The results are written to"},{"line_number":87,"context_line":"``doc/`` and ``api-ref/``."},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"For example, use the following command to render all documentation and manual"},{"line_number":90,"context_line":"pages:"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ff82abbf_de61c806","line":87,"range":{"start_line":87,"start_character":0,"end_line":87,"end_character":25},"updated":"2017-11-30 03:07:25.000000000","message":"Not sure if we want to keep the specific of where the documents are being built ie ``doc/build/html/`` like it was before?","commit_id":"227d38e4a19dee58a1679afea7132c88b799fcb6"},{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"f9b3493e24fb5bc464ac146abab6c37afb6f6de1","unresolved":false,"context_lines":[{"line_number":84,"context_line":""},{"line_number":85,"context_line":"The ``docs`` and ``api-ref`` environments will automatically generate"},{"line_number":86,"context_line":"documentation and the API reference respectively. The results are written to"},{"line_number":87,"context_line":"``doc/`` and ``api-ref/``."},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"For example, use the following command to render all documentation and manual"},{"line_number":90,"context_line":"pages:"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_c61c3d6c","line":87,"range":{"start_line":87,"start_character":0,"end_line":87,"end_character":25},"in_reply_to":"ff82abbf_de61c806","updated":"2017-12-05 19:43:25.000000000","message":"Yeah - I thought about doing that but opted to keep it as general as possible. I can update if we really want that level of detail.","commit_id":"227d38e4a19dee58a1679afea7132c88b799fcb6"}]}
