)]}'
{".testr.conf":[{"author":{"_account_id":16046,"name":"Fernando Diaz","email":"diazjf@us.ibm.com","username":"diazjf"},"change_message_id":"99a62393d3f4753a4f06f1621cd720ac5da544cc","unresolved":false,"context_lines":[{"line_number":1,"context_line":"[DEFAULT]"},{"line_number":2,"context_line":"test_command\u003dOS_STDOUT_CAPTURE\u003d${OS_STDOUT_CAPTURE:-1} \\"},{"line_number":3,"context_line":"             OS_STDERR_CAPTURE\u003d${OS_STDERR_CAPTURE:-1} \\"},{"line_number":4,"context_line":"             ${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./barbican} $LISTOPT $IDOPTION"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"test_id_option\u003d--load-list $IDFILE"},{"line_number":7,"context_line":"test_list_option\u003d--list"}],"source_content_type":"text/plain","patch_set":7,"id":"da20952f_c22974e7","line":4,"updated":"2015-09-01 04:49:19.000000000","message":"OS_TEST_PATH variable is introduced so that we can set it to something different for running the functional tests.","commit_id":"e0a6eb69e77869b0b7307960ae589a2752a30a01"},{"author":{"_account_id":6783,"name":"Nathan Reller","email":"nathan.s.reller@gmail.com","username":"rellerreller"},"change_message_id":"2fc75034694dbe4f0b901b9eb4b176ab57d9c0c9","unresolved":false,"context_lines":[{"line_number":1,"context_line":"[DEFAULT]"},{"line_number":2,"context_line":"test_command\u003dOS_STDOUT_CAPTURE\u003d${OS_STDOUT_CAPTURE:-1} \\"},{"line_number":3,"context_line":"             OS_STDERR_CAPTURE\u003d${OS_STDERR_CAPTURE:-1} \\"},{"line_number":4,"context_line":"             ${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./barbican} $LISTOPT $IDOPTION"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"test_id_option\u003d--load-list $IDFILE"},{"line_number":7,"context_line":"test_list_option\u003d--list"}],"source_content_type":"text/plain","patch_set":12,"id":"da20952f_edfd283c","line":4,"updated":"2015-09-02 18:23:59.000000000","message":"I\u0027m not so familiar with subunit but should this have -s option for OS_TEST_PATH?","commit_id":"3aecfa4cfa3ef08c6474ebe8954965ec7e369c77"},{"author":{"_account_id":16046,"name":"Fernando Diaz","email":"diazjf@us.ibm.com","username":"diazjf"},"change_message_id":"79b72cc5069726186cc8929e9c63e86cbab9e92d","unresolved":false,"context_lines":[{"line_number":1,"context_line":"[DEFAULT]"},{"line_number":2,"context_line":"test_command\u003dOS_STDOUT_CAPTURE\u003d${OS_STDOUT_CAPTURE:-1} \\"},{"line_number":3,"context_line":"             OS_STDERR_CAPTURE\u003d${OS_STDERR_CAPTURE:-1} \\"},{"line_number":4,"context_line":"             ${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./barbican} $LISTOPT $IDOPTION"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"test_id_option\u003d--load-list $IDFILE"},{"line_number":7,"context_line":"test_list_option\u003d--list"}],"source_content_type":"text/plain","patch_set":12,"id":"da20952f_3d6f97fd","line":4,"in_reply_to":"da20952f_a053b738","updated":"2015-09-03 20:00:47.000000000","message":"Maybe we can ask lifeless.\nHe made it:\nhttps://pypi.python.org/pypi/python-subunit","commit_id":"3aecfa4cfa3ef08c6474ebe8954965ec7e369c77"},{"author":{"_account_id":6783,"name":"Nathan Reller","email":"nathan.s.reller@gmail.com","username":"rellerreller"},"change_message_id":"f6395c14d560dbb55944459f5fc2cb53c213f43a","unresolved":false,"context_lines":[{"line_number":1,"context_line":"[DEFAULT]"},{"line_number":2,"context_line":"test_command\u003dOS_STDOUT_CAPTURE\u003d${OS_STDOUT_CAPTURE:-1} \\"},{"line_number":3,"context_line":"             OS_STDERR_CAPTURE\u003d${OS_STDERR_CAPTURE:-1} \\"},{"line_number":4,"context_line":"             ${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./barbican} $LISTOPT $IDOPTION"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"test_id_option\u003d--load-list $IDFILE"},{"line_number":7,"context_line":"test_list_option\u003d--list"}],"source_content_type":"text/plain","patch_set":12,"id":"da20952f_a053b738","line":4,"in_reply_to":"da20952f_ad2ad08e","updated":"2015-09-02 18:50:54.000000000","message":"I was thinking\n\n-t ./ -s ${OS_TEST_PATH:-./barbican}\n\nThat would signal to start discovery for the functional tests in the functional directory. It works without it. I tested that, but doesn\u0027t the start flag indicate the top-most directory where it should start looking for tests? I don\u0027t know for sure but that is how I was reading it.","commit_id":"3aecfa4cfa3ef08c6474ebe8954965ec7e369c77"},{"author":{"_account_id":16046,"name":"Fernando Diaz","email":"diazjf@us.ibm.com","username":"diazjf"},"change_message_id":"a4ffb07e68b229a1b15797cabcbc3636328ad75b","unresolved":false,"context_lines":[{"line_number":1,"context_line":"[DEFAULT]"},{"line_number":2,"context_line":"test_command\u003dOS_STDOUT_CAPTURE\u003d${OS_STDOUT_CAPTURE:-1} \\"},{"line_number":3,"context_line":"             OS_STDERR_CAPTURE\u003d${OS_STDERR_CAPTURE:-1} \\"},{"line_number":4,"context_line":"             ${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./barbican} $LISTOPT $IDOPTION"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"test_id_option\u003d--load-list $IDFILE"},{"line_number":7,"context_line":"test_list_option\u003d--list"}],"source_content_type":"text/plain","patch_set":12,"id":"da20952f_ad2ad08e","line":4,"in_reply_to":"da20952f_edfd283c","updated":"2015-09-02 18:30:37.000000000","message":"-s START, --start-directory START\n                        Directory to start discovery (\u0027.\u0027 default)\n\n-t TOP, --top-level-directory TOP\n                        Top level directory of project (defaults to start\n                        directory)\n\nShouldn\u0027t be needed since we are starting discover on the top level directory being the OS_TEST_PATH.","commit_id":"3aecfa4cfa3ef08c6474ebe8954965ec7e369c77"}],"/COMMIT_MSG":[{"author":{"_account_id":11561,"name":"Dave McCowan","email":"dmccowan@cisco.com","username":"dave-mccowan"},"change_message_id":"4d92343f0945a21692b664cd69b209c73e89d5de","unresolved":false,"context_lines":[{"line_number":9,"context_line":"Alters tox.ini to use testr rather than nosetests."},{"line_number":10,"context_line":"Also, adds documentation on how to use tox to run a"},{"line_number":11,"context_line":"single functional test class."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I1333ead397f338ee3da3d81b0e1de8e93283a2b5"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"da20952f_ea91e147","line":12,"updated":"2015-09-01 10:44:27.000000000","message":"I opened bug #1490747 for this.  please add a Closes-bug: statement.","commit_id":"615dd64d6bc58003069372f4d2aa7ae12d95866f"},{"author":{"_account_id":7764,"name":"Peter Hamilton","email":"peter.hamilton@jhuapl.edu","username":"Peter"},"change_message_id":"b06a4891b06ea6590c978ca8aeec2f09e9cae56b","unresolved":false,"context_lines":[{"line_number":9,"context_line":"Alters tox.ini to use testr rather than nosetests."},{"line_number":10,"context_line":"Also, adds documentation on how to use tox to run a"},{"line_number":11,"context_line":"single functional test class."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I1333ead397f338ee3da3d81b0e1de8e93283a2b5"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"da20952f_fa63eeae","line":12,"in_reply_to":"da20952f_ea91e147","updated":"2015-09-01 12:05:23.000000000","message":"+1","commit_id":"615dd64d6bc58003069372f4d2aa7ae12d95866f"},{"author":{"_account_id":16046,"name":"Fernando Diaz","email":"diazjf@us.ibm.com","username":"diazjf"},"change_message_id":"22b9b44a0ef4f04c5a449f475fe43eb0217be2b3","unresolved":false,"context_lines":[{"line_number":9,"context_line":"Alters tox.ini to use testr rather than nosetests."},{"line_number":10,"context_line":"Also, adds documentation on how to use tox to run a"},{"line_number":11,"context_line":"single functional test class."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I1333ead397f338ee3da3d81b0e1de8e93283a2b5"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"da20952f_087d2fe7","line":12,"in_reply_to":"da20952f_ea91e147","updated":"2015-09-01 15:56:27.000000000","message":"Done","commit_id":"615dd64d6bc58003069372f4d2aa7ae12d95866f"}],"doc/source/testing.rst":[{"author":{"_account_id":6783,"name":"Nathan Reller","email":"nathan.s.reller@gmail.com","username":"rellerreller"},"change_message_id":"40868ddae72ae8b9a022c54ebc153324be9c219d","unresolved":false,"context_lines":[{"line_number":79,"context_line":""},{"line_number":80,"context_line":"    .. code-block:: bash"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"        nosetests path.to.test.file:classname.testname"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"Remote Debugging"},{"line_number":85,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"da20952f_9eba6222","line":82,"updated":"2015-08-28 16:07:49.000000000","message":"This should only be run in the tox environment for functional. I think you should mention that or indicate how to run an individual test using tox.","commit_id":"a4dc7b7548a4e5a88cb3dbc50d284c4082239aa8"},{"author":{"_account_id":16046,"name":"Fernando Diaz","email":"diazjf@us.ibm.com","username":"diazjf"},"change_message_id":"091af5f45845872ee37e9044bcab928c34f0dcf5","unresolved":false,"context_lines":[{"line_number":79,"context_line":""},{"line_number":80,"context_line":"    .. code-block:: bash"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"        nosetests path.to.test.file:classname.testname"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"Remote Debugging"},{"line_number":85,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"da20952f_f9acd836","line":82,"in_reply_to":"da20952f_9eba6222","updated":"2015-08-28 17:15:26.000000000","message":"Was a problem with the tox.ini file not allowing us to run individual tests.\n\nResolved at least to running individual test class, but still can\u0027t do an individual test.\n\ntox -e functional -- api/v1/functional/test_secrets.py:SecretsTestCase.test_secret_create_with_only_content_type_no_payload\n\nrun all the test cases for SecretsTestCase class.","commit_id":"a4dc7b7548a4e5a88cb3dbc50d284c4082239aa8"},{"author":{"_account_id":16046,"name":"Fernando Diaz","email":"diazjf@us.ibm.com","username":"diazjf"},"change_message_id":"99a62393d3f4753a4f06f1621cd720ac5da544cc","unresolved":false,"context_lines":[{"line_number":80,"context_line":"    .. code-block:: bash"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"        # path starts inside functionaltests folder"},{"line_number":83,"context_line":"        tox -e functional -- path.to.test.file.class_name.function"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"Remote Debugging"},{"line_number":86,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"da20952f_a2a4804a","line":83,"updated":"2015-09-01 04:49:19.000000000","message":"tested and works.\n\ntox -e functional -- functionaltests.api.v1.smoke.test_orders.OrdersTestCase.test_orders_get\n\nwill only run 1 test.","commit_id":"e0a6eb69e77869b0b7307960ae589a2752a30a01"},{"author":{"_account_id":16046,"name":"Fernando Diaz","email":"diazjf@us.ibm.com","username":"diazjf"},"change_message_id":"49c14755209371162fa3d2e8c49bfc87403c5a19","unresolved":false,"context_lines":[{"line_number":80,"context_line":"    .. code-block:: bash"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"        # path starts inside functionaltests folder"},{"line_number":83,"context_line":"        tox -e functional -- path.to.test.file.class_name.function"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"Remote Debugging"},{"line_number":86,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"da20952f_994212ad","line":83,"in_reply_to":"da20952f_a2a4804a","updated":"2015-09-01 05:43:47.000000000","message":"Note:\n\ntox -e functional api.v1.smoke.test_orders.OrdersTestCase.test_orders_get also works.","commit_id":"e0a6eb69e77869b0b7307960ae589a2752a30a01"},{"author":{"_account_id":11561,"name":"Dave McCowan","email":"dmccowan@cisco.com","username":"dave-mccowan"},"change_message_id":"4d92343f0945a21692b664cd69b209c73e89d5de","unresolved":false,"context_lines":[{"line_number":71,"context_line":""},{"line_number":72,"context_line":"    In order to run an individual functional test class, you must use the"},{"line_number":73,"context_line":"    following command:"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"    .. code-block:: bash"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"        # path starts inside functionaltests folder"}],"source_content_type":"text/x-rst","patch_set":8,"id":"da20952f_6a987178","line":74,"updated":"2015-09-01 10:44:27.000000000","message":"I tried this out:  you can use any regular expression to choose which tests you want to run: \"tox -e functional -- secrets\" will run only the tests with \"secrets\" as part of the path and name.\n\nDo you know how to select tests marked with an attribute?  That would be another good example to add here.","commit_id":"615dd64d6bc58003069372f4d2aa7ae12d95866f"},{"author":{"_account_id":16046,"name":"Fernando Diaz","email":"diazjf@us.ibm.com","username":"diazjf"},"change_message_id":"22b9b44a0ef4f04c5a449f475fe43eb0217be2b3","unresolved":false,"context_lines":[{"line_number":71,"context_line":""},{"line_number":72,"context_line":"    In order to run an individual functional test class, you must use the"},{"line_number":73,"context_line":"    following command:"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"    .. code-block:: bash"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"        # path starts inside functionaltests folder"}],"source_content_type":"text/x-rst","patch_set":8,"id":"da20952f_ee16c357","line":74,"in_reply_to":"da20952f_6a987178","updated":"2015-09-01 15:56:27.000000000","message":"Hey Dave, nice find!! I\u0027m not sure how to select tests marked with an attribute. I\u0027ll add it once I figure it out.","commit_id":"615dd64d6bc58003069372f4d2aa7ae12d95866f"},{"author":{"_account_id":7764,"name":"Peter Hamilton","email":"peter.hamilton@jhuapl.edu","username":"Peter"},"change_message_id":"11aa7b631bd7730d13ded5ea116a81c6fa4bb9d3","unresolved":false,"context_lines":[{"line_number":75,"context_line":"    .. code-block:: bash"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"        # path starts inside functionaltests folder"},{"line_number":78,"context_line":"        tox -e functional -- path.to.test.file.class_name.function"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"Remote Debugging"},{"line_number":81,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":9,"id":"da20952f_c542bd68","line":78,"updated":"2015-09-01 16:27:08.000000000","message":"This path runs a specific test method in a test class, correct? Above it says this is how to run a test class. Should these two match up?","commit_id":"ae2e9363ed1ac150a05aab7b46044055fbfc7626"},{"author":{"_account_id":16046,"name":"Fernando Diaz","email":"diazjf@us.ibm.com","username":"diazjf"},"change_message_id":"f885c751f5b6b92443019f870f00909ab815573f","unresolved":false,"context_lines":[{"line_number":75,"context_line":"    .. code-block:: bash"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"        # path starts inside functionaltests folder"},{"line_number":78,"context_line":"        tox -e functional -- path.to.test.file.class_name.function"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"Remote Debugging"},{"line_number":81,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":9,"id":"da20952f_7b959286","line":78,"in_reply_to":"da20952f_c542bd68","updated":"2015-09-01 16:48:46.000000000","message":"Done","commit_id":"ae2e9363ed1ac150a05aab7b46044055fbfc7626"},{"author":{"_account_id":8623,"name":"Kaitlin Farr","email":"kaitlin.farr@jhuapl.edu","username":"kaitlin.farr"},"change_message_id":"baae3072bfd1cc3fb474411993bb35eba41df68f","unresolved":false,"context_lines":[{"line_number":75,"context_line":"    .. code-block:: bash"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"        # path starts inside functionaltests folder"},{"line_number":78,"context_line":"        tox -e functional -- path.to.test.file.class_name.function"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"Remote Debugging"},{"line_number":81,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":10,"id":"da20952f_4aba31c2","line":78,"updated":"2015-09-01 18:56:01.000000000","message":"This part isn\u0027t formatting correctly.  You can see how it will look if go to the \u0027gate-barbican-docs\u0027 results:\n\nhttp://docs-draft.openstack.org/17/218117/10/check/gate-barbican-docs/00b4a36//doc/build/html/testing.html#functional-tests","commit_id":"cf215fa4c3a4bf06c5cf73f574254ab0b8e10607"},{"author":{"_account_id":16046,"name":"Fernando Diaz","email":"diazjf@us.ibm.com","username":"diazjf"},"change_message_id":"1e67a9a5977eea14c6c08c506e5f933f1367f111","unresolved":false,"context_lines":[{"line_number":75,"context_line":"    .. code-block:: bash"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"        # path starts inside functionaltests folder"},{"line_number":78,"context_line":"        tox -e functional -- path.to.test.file.class_name.function"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"Remote Debugging"},{"line_number":81,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":10,"id":"da20952f_0aec398e","line":78,"in_reply_to":"da20952f_4aba31c2","updated":"2015-09-01 19:03:42.000000000","message":"Nice find, thanks Kaitlin!!","commit_id":"cf215fa4c3a4bf06c5cf73f574254ab0b8e10607"},{"author":{"_account_id":11561,"name":"Dave McCowan","email":"dmccowan@cisco.com","username":"dave-mccowan"},"change_message_id":"d313fceed74058ab8e77cbc5991ee4e2468a049d","unresolved":false,"context_lines":[{"line_number":75,"context_line":"    .. code-block:: bash"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"        # path starts inside functionaltests folder"},{"line_number":78,"context_line":"        tox -e functional -- path.to.test.file.class_name.function"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"Remote Debugging"},{"line_number":81,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":25,"id":"ba15a1d1_f6af637b","line":78,"updated":"2015-09-14 12:57:52.000000000","message":"Please add some additional info on this.  In addition to running a single test, you can specify a group of tests with a regex match.\n\nFor example, \"-- secrets\" will run all tests with secrets in the name","commit_id":"7b5e01f78e43e41eb244f8e214632b8b1fe56088"},{"author":{"_account_id":16046,"name":"Fernando Diaz","email":"diazjf@us.ibm.com","username":"diazjf"},"change_message_id":"34a775979011c92d272ed2776d486729aa378f28","unresolved":false,"context_lines":[{"line_number":75,"context_line":"    .. code-block:: bash"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"        # path starts inside functionaltests folder"},{"line_number":78,"context_line":"        tox -e functional -- path.to.test.file.class_name.function"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"Remote Debugging"},{"line_number":81,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":25,"id":"ba15a1d1_3e460a24","line":78,"in_reply_to":"ba15a1d1_233d982b","updated":"2015-09-14 15:59:56.000000000","message":"Done","commit_id":"7b5e01f78e43e41eb244f8e214632b8b1fe56088"},{"author":{"_account_id":16046,"name":"Fernando Diaz","email":"diazjf@us.ibm.com","username":"diazjf"},"change_message_id":"34a775979011c92d272ed2776d486729aa378f28","unresolved":false,"context_lines":[{"line_number":75,"context_line":"    .. code-block:: bash"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"        # path starts inside functionaltests folder"},{"line_number":78,"context_line":"        tox -e functional -- path.to.test.file.class_name.function"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"Remote Debugging"},{"line_number":81,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":25,"id":"ba15a1d1_de4b4e2a","line":78,"in_reply_to":"ba15a1d1_f6af637b","updated":"2015-09-14 15:59:56.000000000","message":"Done","commit_id":"7b5e01f78e43e41eb244f8e214632b8b1fe56088"},{"author":{"_account_id":6783,"name":"Nathan Reller","email":"nathan.s.reller@gmail.com","username":"rellerreller"},"change_message_id":"2b7e0650897aad21ce79eb0ab7b48e990963d01e","unresolved":false,"context_lines":[{"line_number":75,"context_line":"    .. code-block:: bash"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"        # path starts inside functionaltests folder"},{"line_number":78,"context_line":"        tox -e functional -- path.to.test.file.class_name.function"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"Remote Debugging"},{"line_number":81,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":25,"id":"ba15a1d1_233d982b","line":78,"in_reply_to":"ba15a1d1_f6af637b","updated":"2015-09-14 14:59:48.000000000","message":"Perhaps just link to testr documenation? Dave, thoughts?","commit_id":"7b5e01f78e43e41eb244f8e214632b8b1fe56088"}],"functionaltests/.testr.conf":[{"author":{"_account_id":16046,"name":"Fernando Diaz","email":"diazjf@us.ibm.com","username":"diazjf"},"change_message_id":"9ff0cd37120bcba6b7bda41b591154f938f62a9b","unresolved":false,"context_lines":[{"line_number":3,"context_line":"    OS_STDOUT_CAPTURE\u003d${OS_STDOUT_CAPTURE:-1} \\"},{"line_number":4,"context_line":"    OS_STDERR_CAPTURE\u003d${OS_STDERR_CAPTURE:-1} \\"},{"line_number":5,"context_line":"    OS_LOG_CAPTURE\u003d${OS_LOG_CAPTURE:-1} \\"},{"line_number":6,"context_line":"    ${PYTHON:-python} -m subunit.run discover -s ./api -t . $LISTOPT $IDOPTION"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"test_id_option\u003d--load-list $IDFILE"},{"line_number":9,"context_line":"test_list_option\u003d--list"}],"source_content_type":"text/plain","patch_set":17,"id":"da20952f_7a0e678d","line":6,"updated":"2015-09-04 03:52:54.000000000","message":"ok in ./api since all the functests are there","commit_id":"66e1229d65e93b26ff6afd1ba34cafe32b78b868"},{"author":{"_account_id":11561,"name":"Dave McCowan","email":"dmccowan@cisco.com","username":"dave-mccowan"},"change_message_id":"d313fceed74058ab8e77cbc5991ee4e2468a049d","unresolved":false,"context_lines":[{"line_number":6,"context_line":"    ${PYTHON:-python} -m subunit.run discover -s ./api -t . $LISTOPT $IDOPTION"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"test_id_option\u003d--load-list $IDFILE"},{"line_number":9,"context_line":"test_list_option\u003d--list"}],"source_content_type":"text/plain","patch_set":25,"id":"ba15a1d1_b6ca4b4e","line":9,"updated":"2015-09-14 12:57:52.000000000","message":"please revert whitespace change.","commit_id":"7b5e01f78e43e41eb244f8e214632b8b1fe56088"},{"author":{"_account_id":16046,"name":"Fernando Diaz","email":"diazjf@us.ibm.com","username":"diazjf"},"change_message_id":"34a775979011c92d272ed2776d486729aa378f28","unresolved":false,"context_lines":[{"line_number":6,"context_line":"    ${PYTHON:-python} -m subunit.run discover -s ./api -t . $LISTOPT $IDOPTION"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"test_id_option\u003d--load-list $IDFILE"},{"line_number":9,"context_line":"test_list_option\u003d--list"}],"source_content_type":"text/plain","patch_set":25,"id":"ba15a1d1_5b18b084","line":9,"in_reply_to":"ba15a1d1_b6ca4b4e","updated":"2015-09-14 15:59:56.000000000","message":"Done","commit_id":"7b5e01f78e43e41eb244f8e214632b8b1fe56088"}],"functionaltests/api/base.py":[{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"43ec16c2f77ae2c925c88b6ff8290dd6c6194a48","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"        self.client \u003d client.BarbicanClient()"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"        if (os.environ.get(\u0027OS_STDOUT_CAPTURE\u0027) \u003d\u003d \u0027True\u0027 or"},{"line_number":57,"context_line":"                os.environ.get(\u0027OS_STDOUT_CAPTURE\u0027) \u003d\u003d \u00271\u0027):"},{"line_number":58,"context_line":"            stdout \u003d self.useFixture(fixtures.StringStream(\u0027stdout\u0027)).stream"},{"line_number":59,"context_line":"            self.useFixture(fixtures.MonkeyPatch(\u0027sys.stdout\u0027, stdout))"}],"source_content_type":"text/x-python","patch_set":25,"id":"ba15a1d1_83182486","line":56,"updated":"2015-09-14 15:00:00.000000000","message":"should this be case insensitive comparison?","commit_id":"7b5e01f78e43e41eb244f8e214632b8b1fe56088"},{"author":{"_account_id":16046,"name":"Fernando Diaz","email":"diazjf@us.ibm.com","username":"diazjf"},"change_message_id":"34a775979011c92d272ed2776d486729aa378f28","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"        self.client \u003d client.BarbicanClient()"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"        if (os.environ.get(\u0027OS_STDOUT_CAPTURE\u0027) \u003d\u003d \u0027True\u0027 or"},{"line_number":57,"context_line":"                os.environ.get(\u0027OS_STDOUT_CAPTURE\u0027) \u003d\u003d \u00271\u0027):"},{"line_number":58,"context_line":"            stdout \u003d self.useFixture(fixtures.StringStream(\u0027stdout\u0027)).stream"},{"line_number":59,"context_line":"            self.useFixture(fixtures.MonkeyPatch(\u0027sys.stdout\u0027, stdout))"}],"source_content_type":"text/x-python","patch_set":25,"id":"ba15a1d1_5b63d01a","line":56,"in_reply_to":"ba15a1d1_83182486","updated":"2015-09-14 15:59:56.000000000","message":"Its fine for them to be case sensitive. It is set to 1 by the .testr config. All the letters are uppercase.","commit_id":"7b5e01f78e43e41eb244f8e214632b8b1fe56088"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"43ec16c2f77ae2c925c88b6ff8290dd6c6194a48","unresolved":false,"context_lines":[{"line_number":61,"context_line":"                os.environ.get(\u0027OS_STDERR_CAPTURE\u0027) \u003d\u003d \u00271\u0027):"},{"line_number":62,"context_line":"            stderr \u003d self.useFixture(fixtures.StringStream(\u0027stderr\u0027)).stream"},{"line_number":63,"context_line":"            self.useFixture(fixtures.MonkeyPatch(\u0027sys.stderr\u0027, stderr))"},{"line_number":64,"context_line":"        if (os.environ.get(\u0027OS_LOG_CAPTURE\u0027) \u003d\u003d \u0027True\u0027 or"},{"line_number":65,"context_line":"                os.environ.get(\u0027OS_LOG_CAPTURE\u0027) \u003d\u003d \u00271\u0027):"},{"line_number":66,"context_line":"            self.useFixture(fixtures.LoggerFixture(nuke_handlers\u003dFalse,"},{"line_number":67,"context_line":"                                                   format\u003dself.log_format,"}],"source_content_type":"text/x-python","patch_set":25,"id":"ba15a1d1_030df43d","line":64,"updated":"2015-09-14 15:00:00.000000000","message":"same as above - should this be case insensitive?","commit_id":"7b5e01f78e43e41eb244f8e214632b8b1fe56088"},{"author":{"_account_id":16046,"name":"Fernando Diaz","email":"diazjf@us.ibm.com","username":"diazjf"},"change_message_id":"34a775979011c92d272ed2776d486729aa378f28","unresolved":false,"context_lines":[{"line_number":61,"context_line":"                os.environ.get(\u0027OS_STDERR_CAPTURE\u0027) \u003d\u003d \u00271\u0027):"},{"line_number":62,"context_line":"            stderr \u003d self.useFixture(fixtures.StringStream(\u0027stderr\u0027)).stream"},{"line_number":63,"context_line":"            self.useFixture(fixtures.MonkeyPatch(\u0027sys.stderr\u0027, stderr))"},{"line_number":64,"context_line":"        if (os.environ.get(\u0027OS_LOG_CAPTURE\u0027) \u003d\u003d \u0027True\u0027 or"},{"line_number":65,"context_line":"                os.environ.get(\u0027OS_LOG_CAPTURE\u0027) \u003d\u003d \u00271\u0027):"},{"line_number":66,"context_line":"            self.useFixture(fixtures.LoggerFixture(nuke_handlers\u003dFalse,"},{"line_number":67,"context_line":"                                                   format\u003dself.log_format,"}],"source_content_type":"text/x-python","patch_set":25,"id":"ba15a1d1_1b6d5804","line":64,"in_reply_to":"ba15a1d1_030df43d","updated":"2015-09-14 15:59:56.000000000","message":"See line 56","commit_id":"7b5e01f78e43e41eb244f8e214632b8b1fe56088"},{"author":{"_account_id":11561,"name":"Dave McCowan","email":"dmccowan@cisco.com","username":"dave-mccowan"},"change_message_id":"d313fceed74058ab8e77cbc5991ee4e2468a049d","unresolved":false,"context_lines":[{"line_number":66,"context_line":"            self.useFixture(fixtures.LoggerFixture(nuke_handlers\u003dFalse,"},{"line_number":67,"context_line":"                                                   format\u003dself.log_format,"},{"line_number":68,"context_line":"                                                   level\u003dlogging.DEBUG))"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"    def tearDown(self):"},{"line_number":71,"context_line":"        super(TestCase, self).tearDown()"},{"line_number":72,"context_line":"        self.LOG.info(\u0027Finished: %s\\n\u0027, self._testMethodName)"}],"source_content_type":"text/x-python","patch_set":25,"id":"ba15a1d1_56e2cfd6","line":69,"updated":"2015-09-14 12:57:52.000000000","message":"Nice job figuring this out.  Do you know why this is need for testr, but not for nose?","commit_id":"7b5e01f78e43e41eb244f8e214632b8b1fe56088"},{"author":{"_account_id":16046,"name":"Fernando Diaz","email":"diazjf@us.ibm.com","username":"diazjf"},"change_message_id":"34a775979011c92d272ed2776d486729aa378f28","unresolved":false,"context_lines":[{"line_number":66,"context_line":"            self.useFixture(fixtures.LoggerFixture(nuke_handlers\u003dFalse,"},{"line_number":67,"context_line":"                                                   format\u003dself.log_format,"},{"line_number":68,"context_line":"                                                   level\u003dlogging.DEBUG))"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"    def tearDown(self):"},{"line_number":71,"context_line":"        super(TestCase, self).tearDown()"},{"line_number":72,"context_line":"        self.LOG.info(\u0027Finished: %s\\n\u0027, self._testMethodName)"}],"source_content_type":"text/x-python","patch_set":25,"id":"ba15a1d1_5b31900a","line":69,"in_reply_to":"ba15a1d1_56e2cfd6","updated":"2015-09-14 15:59:56.000000000","message":"Thanks Dave, I believe it is due to the logging level. using fixtures I can set it to a higher level.","commit_id":"7b5e01f78e43e41eb244f8e214632b8b1fe56088"}],"functionaltests/post_test_hook.sh":[{"author":{"_account_id":16046,"name":"Fernando Diaz","email":"diazjf@us.ibm.com","username":"diazjf"},"change_message_id":"aee73c7abb71915bea557e310337165d75c42298","unresolved":false,"context_lines":[{"line_number":19,"context_line":""},{"line_number":20,"context_line":"cd /opt/stack/new/barbican"},{"line_number":21,"context_line":"echo \u0027Running Functional Tests\u0027"},{"line_number":22,"context_line":"sudo tox -e functional"}],"source_content_type":"text/x-sh","patch_set":15,"id":"da20952f_437e2a6b","line":22,"updated":"2015-09-03 20:35:15.000000000","message":"Add the parameters to be able to skip the functional test as seen in tox.ini.","commit_id":"5044c23487b70d7c91c1a9daf69a679ef8ad4ac9"}],"test-requirements.txt":[{"author":{"_account_id":11561,"name":"Dave McCowan","email":"dmccowan@cisco.com","username":"dave-mccowan"},"change_message_id":"d313fceed74058ab8e77cbc5991ee4e2468a049d","unresolved":false,"context_lines":[{"line_number":12,"context_line":"requests\u003e\u003d2.5.2"},{"line_number":13,"context_line":"python-keystoneclient\u003e\u003d1.6.0"},{"line_number":14,"context_line":"python-subunit\u003e\u003d0.0.18"},{"line_number":15,"context_line":"tempest-lib\u003e\u003d0.6.1"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"# Bandit build requirements"},{"line_number":18,"context_line":"bandit\u003e\u003d0.13.2"}],"source_content_type":"text/plain","patch_set":25,"id":"ba15a1d1_b6d1ebfd","line":15,"updated":"2015-09-14 12:57:52.000000000","message":"Please revert order change.","commit_id":"7b5e01f78e43e41eb244f8e214632b8b1fe56088"},{"author":{"_account_id":16046,"name":"Fernando Diaz","email":"diazjf@us.ibm.com","username":"diazjf"},"change_message_id":"34a775979011c92d272ed2776d486729aa378f28","unresolved":false,"context_lines":[{"line_number":12,"context_line":"requests\u003e\u003d2.5.2"},{"line_number":13,"context_line":"python-keystoneclient\u003e\u003d1.6.0"},{"line_number":14,"context_line":"python-subunit\u003e\u003d0.0.18"},{"line_number":15,"context_line":"tempest-lib\u003e\u003d0.6.1"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"# Bandit build requirements"},{"line_number":18,"context_line":"bandit\u003e\u003d0.13.2"}],"source_content_type":"text/plain","patch_set":25,"id":"ba15a1d1_3b5ffc73","line":15,"in_reply_to":"ba15a1d1_b6d1ebfd","updated":"2015-09-14 15:59:56.000000000","message":"Done","commit_id":"7b5e01f78e43e41eb244f8e214632b8b1fe56088"}],"tox.ini":[{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"59cdd610e49f5aa9ee9ad531654ff825e68019f8","unresolved":false,"context_lines":[{"line_number":58,"context_line":"deps \u003d"},{"line_number":59,"context_line":"    {[testenv]deps}"},{"line_number":60,"context_line":"    nose"},{"line_number":61,"context_line":"commands \u003d nosetests -v --processes\u003d-1 --process-timeout\u003d600 {toxinidir}/functionaltests/{posargs}"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"[flake8]"},{"line_number":64,"context_line":"# E711 ignored because of sqlalchemy override of \u003d\u003d None"}],"source_content_type":"text/x-properties","patch_set":2,"id":"da20952f_fdcd9f85","line":61,"updated":"2015-08-28 18:25:15.000000000","message":"Are there any other positional args that we might need to pass in here, besides the target test to run? If so, would this change prevent those from applying to the nosetests command?","commit_id":"bf8ab5d2741461c45289b595f7dabaa0c921605d"},{"author":{"_account_id":16046,"name":"Fernando Diaz","email":"diazjf@us.ibm.com","username":"diazjf"},"change_message_id":"ae29127b2b0ef41dd7cae78fd3cd6b8ce03333db","unresolved":false,"context_lines":[{"line_number":58,"context_line":"deps \u003d"},{"line_number":59,"context_line":"    {[testenv]deps}"},{"line_number":60,"context_line":"    nose"},{"line_number":61,"context_line":"commands \u003d nosetests -v --processes\u003d-1 --process-timeout\u003d600 {toxinidir}/functionaltests/{posargs}"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"[flake8]"},{"line_number":64,"context_line":"# E711 ignored because of sqlalchemy override of \u003d\u003d None"}],"source_content_type":"text/x-properties","patch_set":2,"id":"da20952f_1d0ad379","line":61,"in_reply_to":"da20952f_fdcd9f85","updated":"2015-08-28 18:29:02.000000000","message":"True, any other argument s would be affected, and will cause error if they are submitted.\n\nNathan, maybe we should just leave the tox.ini as previously done and just show how to run using nosetests?","commit_id":"bf8ab5d2741461c45289b595f7dabaa0c921605d"},{"author":{"_account_id":16046,"name":"Fernando Diaz","email":"diazjf@us.ibm.com","username":"diazjf"},"change_message_id":"99a62393d3f4753a4f06f1621cd720ac5da544cc","unresolved":false,"context_lines":[{"line_number":56,"context_line":"# This tox env is purely to make local test development easier"},{"line_number":57,"context_line":"# Note: This requires local running instances of Barbican and Keystone"},{"line_number":58,"context_line":"deps \u003d -r{toxinidir}/test-requirements.txt"},{"line_number":59,"context_line":"setenv \u003d OS_TEST_PATH\u003d{toxinidir}/functionaltests"},{"line_number":60,"context_line":"commands \u003d python setup.py testr --testr-args\u003d\u0027{posargs}\u0027"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"[flake8]"}],"source_content_type":"text/x-properties","patch_set":7,"id":"da20952f_0243ec6c","line":59,"updated":"2015-09-01 04:49:19.000000000","message":"changes OS_TEST_PATH in the env, so that we only run in the functional tests directory.","commit_id":"e0a6eb69e77869b0b7307960ae589a2752a30a01"},{"author":{"_account_id":16046,"name":"Fernando Diaz","email":"diazjf@us.ibm.com","username":"diazjf"},"change_message_id":"aee73c7abb71915bea557e310337165d75c42298","unresolved":false,"context_lines":[{"line_number":54,"context_line":"commands\u003d"},{"line_number":55,"context_line":"    python setup.py build_sphinx"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"[testenv:functional]"},{"line_number":58,"context_line":"# This tox env is purely to make local test development easier"},{"line_number":59,"context_line":"# Note: This requires local running instances of Barbican and Keystone"},{"line_number":60,"context_line":"deps \u003d -r{toxinidir}/test-requirements.txt"}],"source_content_type":"text/x-properties","patch_set":15,"id":"da20952f_a35f060e","line":57,"updated":"2015-09-03 20:35:15.000000000","message":"I could add {posarg} to check for argument which we can use in the gate to skip quota tests.","commit_id":"5044c23487b70d7c91c1a9daf69a679ef8ad4ac9"},{"author":{"_account_id":11561,"name":"Dave McCowan","email":"dmccowan@cisco.com","username":"dave-mccowan"},"change_message_id":"d313fceed74058ab8e77cbc5991ee4e2468a049d","unresolved":false,"context_lines":[{"line_number":60,"context_line":"deps \u003d -r{toxinidir}/test-requirements.txt"},{"line_number":61,"context_line":"setenv \u003d OS_TEST_PATH\u003d{toxinidir}/functionaltests"},{"line_number":62,"context_line":"commands \u003d"},{"line_number":63,"context_line":"    /usr/bin/find . -type f -name \"*.pyc\" -delete"},{"line_number":64,"context_line":"    /bin/bash {toxinidir}/functionaltests/pretty_tox.sh \u0027{posargs}\u0027"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"[flake8]"}],"source_content_type":"text/x-properties","patch_set":25,"id":"ba15a1d1_f68203c8","line":63,"updated":"2015-09-14 12:57:52.000000000","message":"This is an interesting change.  I have seen other projects delete *.pyc before every test run, trying to avoid weirdness if timestamps get out of sync.  But, we haven\u0027t done this in Barbican yet.  If we do, we should do it for unit tests too.\n\nThoughts from other reviewers?","commit_id":"7b5e01f78e43e41eb244f8e214632b8b1fe56088"},{"author":{"_account_id":16046,"name":"Fernando Diaz","email":"diazjf@us.ibm.com","username":"diazjf"},"change_message_id":"34a775979011c92d272ed2776d486729aa378f28","unresolved":false,"context_lines":[{"line_number":60,"context_line":"deps \u003d -r{toxinidir}/test-requirements.txt"},{"line_number":61,"context_line":"setenv \u003d OS_TEST_PATH\u003d{toxinidir}/functionaltests"},{"line_number":62,"context_line":"commands \u003d"},{"line_number":63,"context_line":"    /usr/bin/find . -type f -name \"*.pyc\" -delete"},{"line_number":64,"context_line":"    /bin/bash {toxinidir}/functionaltests/pretty_tox.sh \u0027{posargs}\u0027"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"[flake8]"}],"source_content_type":"text/x-properties","patch_set":25,"id":"ba15a1d1_9b06481f","line":63,"in_reply_to":"ba15a1d1_23aef82e","updated":"2015-09-14 15:59:56.000000000","message":"Thanks. Will add to another patch.","commit_id":"7b5e01f78e43e41eb244f8e214632b8b1fe56088"},{"author":{"_account_id":6783,"name":"Nathan Reller","email":"nathan.s.reller@gmail.com","username":"rellerreller"},"change_message_id":"2b7e0650897aad21ce79eb0ab7b48e990963d01e","unresolved":false,"context_lines":[{"line_number":60,"context_line":"deps \u003d -r{toxinidir}/test-requirements.txt"},{"line_number":61,"context_line":"setenv \u003d OS_TEST_PATH\u003d{toxinidir}/functionaltests"},{"line_number":62,"context_line":"commands \u003d"},{"line_number":63,"context_line":"    /usr/bin/find . -type f -name \"*.pyc\" -delete"},{"line_number":64,"context_line":"    /bin/bash {toxinidir}/functionaltests/pretty_tox.sh \u0027{posargs}\u0027"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"[flake8]"}],"source_content_type":"text/x-properties","patch_set":25,"id":"ba15a1d1_23aef82e","line":63,"in_reply_to":"ba15a1d1_f68203c8","updated":"2015-09-14 14:59:48.000000000","message":"I\u0027m ok with doing it for unit tests too, but I vote to put it in a different patch.","commit_id":"7b5e01f78e43e41eb244f8e214632b8b1fe56088"}]}
