)]}'
{"doc/source/index.rst":[{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"0d1d827dcc8a9d790ac8976162d8efc6b0adca7a","unresolved":false,"context_lines":[{"line_number":94,"context_line":"   topics/policy"},{"line_number":95,"context_line":"   topics/angularjs"},{"line_number":96,"context_line":"   topics/testing"},{"line_number":97,"context_line":"   topics/python_testing"},{"line_number":98,"context_line":"   topics/javascript_testing"},{"line_number":99,"context_line":"   topics/styling"},{"line_number":100,"context_line":"   topics/translation"}],"source_content_type":"text/x-rst","patch_set":6,"id":"da36d5c6_51af162b","line":97,"updated":"2017-02-27 22:36:47.000000000","message":"References file which is no longer being created","commit_id":"a5bb2a4c46c8a555d808b4996e11923f22812b45"}],"doc/source/topics/javascript_testing.rst":[{"author":{"_account_id":15209,"name":"Lucas Xu","email":"hanxu@redhat.com","username":"xuh"},"change_message_id":"80dcdd8696d43ea0f15b264dacc74179c3d195ad","unresolved":false,"context_lines":[{"line_number":42,"context_line":"To decipher where tests are failing it may be useful to use jasmine in the"},{"line_number":43,"context_line":"browser to set break points on relating functions and see what causes the"},{"line_number":44,"context_line":"test to fail. To do this, navigate to your local horizon in the browser and add"},{"line_number":45,"context_line":"\u0027/jasmine.html\u0027 to the end of the url. e.g: http://localhost:8000/jasmine.html"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Coverage Reports"},{"line_number":48,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"da36d5c6_8f3e2226","line":45,"updated":"2017-02-23 23:18:06.000000000","message":"I tried this and see \"171 failures\". Hmm. Interesting. I am using the master branch","commit_id":"8ef242b8ba062cddb4cdfca4b6eb4f53b71a96b4"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"8527095b3536d836febd5f27e778c0beec96743a","unresolved":false,"context_lines":[{"line_number":42,"context_line":"To decipher where tests are failing it may be useful to use jasmine in the"},{"line_number":43,"context_line":"browser to set break points on relating functions and see what causes the"},{"line_number":44,"context_line":"test to fail. To do this, navigate to your local horizon in the browser and add"},{"line_number":45,"context_line":"\u0027/jasmine.html\u0027 to the end of the url. e.g: http://localhost:8000/jasmine.html"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Coverage Reports"},{"line_number":48,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"da36d5c6_c1e9cab8","line":45,"updated":"2017-02-24 05:39:56.000000000","message":"It\u0027s enough to just add \"/jasmine\" without the \".html\".\n\nAlso, note that \"Once you have the jasmine report you may click on the title of an individual test to re-run just that test.\" Since that\u0027s really handy :-)","commit_id":"8ef242b8ba062cddb4cdfca4b6eb4f53b71a96b4"},{"author":{"_account_id":16628,"name":"Beth Elwell","email":"e.r.elwell@gmail.com","username":"bethelwell"},"change_message_id":"1cb93dde5cb596ad5825dd92b9d1e562d8336b6c","unresolved":false,"context_lines":[{"line_number":42,"context_line":"To decipher where tests are failing it may be useful to use jasmine in the"},{"line_number":43,"context_line":"browser to set break points on relating functions and see what causes the"},{"line_number":44,"context_line":"test to fail. To do this, navigate to your local horizon in the browser and add"},{"line_number":45,"context_line":"\u0027/jasmine.html\u0027 to the end of the url. e.g: http://localhost:8000/jasmine.html"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Coverage Reports"},{"line_number":48,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"da36d5c6_00175348","line":45,"in_reply_to":"da36d5c6_c1e9cab8","updated":"2017-02-24 14:24:52.000000000","message":"Lucas - I assume you have now got this to work from the +1 you added later? Please let me know if this is not the case and I can try to help debug and we can amend documentation as necessary.\n\nAwesome thanks Richard! Done :)","commit_id":"8ef242b8ba062cddb4cdfca4b6eb4f53b71a96b4"},{"author":{"_account_id":8648,"name":"Radomir Dopieralski","email":"openstack@dopieralski.pl","username":"thesheep"},"change_message_id":"fa819efe7ba09cd2f5fd7ab898b823ab86ae1b73","unresolved":false,"context_lines":[{"line_number":40,"context_line":"``tox -e npm -- lintq`` to show errors, but not warnings."},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"To decipher where tests are failing it may be useful to use jasmine in the"},{"line_number":43,"context_line":"browser to set break points on relating functions and see what causes the"},{"line_number":44,"context_line":"test to fail. To do this, navigate to your local horizon in the browser and add"},{"line_number":45,"context_line":"\u0027/jasmine\u0027 to the end of the url. e.g: \u0027http://localhost:8000/jasmine\u0027. Once you"},{"line_number":46,"context_line":"have the jasmine report you may click on the title of an individual test to"}],"source_content_type":"text/x-rst","patch_set":4,"id":"da36d5c6_34d1cf23","line":43,"updated":"2017-02-27 09:02:29.000000000","message":"related","commit_id":"61d29248e4f2afbc986f7968d03a460f259ed2da"},{"author":{"_account_id":16628,"name":"Beth Elwell","email":"e.r.elwell@gmail.com","username":"bethelwell"},"change_message_id":"2ef9f8b14ffa0801599625cf753ffc55042bd3f6","unresolved":false,"context_lines":[{"line_number":40,"context_line":"``tox -e npm -- lintq`` to show errors, but not warnings."},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"To decipher where tests are failing it may be useful to use jasmine in the"},{"line_number":43,"context_line":"browser to set break points on relating functions and see what causes the"},{"line_number":44,"context_line":"test to fail. To do this, navigate to your local horizon in the browser and add"},{"line_number":45,"context_line":"\u0027/jasmine\u0027 to the end of the url. e.g: \u0027http://localhost:8000/jasmine\u0027. Once you"},{"line_number":46,"context_line":"have the jasmine report you may click on the title of an individual test to"}],"source_content_type":"text/x-rst","patch_set":4,"id":"da36d5c6_ea42ec66","line":43,"in_reply_to":"da36d5c6_34d1cf23","updated":"2017-02-27 10:27:08.000000000","message":"Done","commit_id":"61d29248e4f2afbc986f7968d03a460f259ed2da"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"07d0e3cae23a9d73500895470d66165709792acd","unresolved":false,"context_lines":[{"line_number":39,"context_line":"The code linting job can be run with ``tox -e npm -- lint``, or"},{"line_number":40,"context_line":"``tox -e npm -- lintq`` to show errors, but not warnings."},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"To decipher where tests are failing it may be useful to use jasmine in the"},{"line_number":43,"context_line":"browser to set break points on related functions and see what causes the"},{"line_number":44,"context_line":"test to fail. To do this, navigate to your local horizon in the browser and add"},{"line_number":45,"context_line":"\u0027/jasmine\u0027 to the end of the url. e.g: \u0027http://localhost:8000/jasmine\u0027. Once you"}],"source_content_type":"text/x-rst","patch_set":5,"id":"da36d5c6_2ff5edca","line":42,"range":{"start_line":42,"start_character":60,"end_line":42,"end_character":67},"updated":"2017-02-27 14:22:38.000000000","message":"Jasmine*","commit_id":"631a72cbadf427c4e460610ca10689161f18ffc0"},{"author":{"_account_id":16628,"name":"Beth Elwell","email":"e.r.elwell@gmail.com","username":"bethelwell"},"change_message_id":"49fcb441130c399f057c688cf4a61ae718d80bab","unresolved":false,"context_lines":[{"line_number":39,"context_line":"The code linting job can be run with ``tox -e npm -- lint``, or"},{"line_number":40,"context_line":"``tox -e npm -- lintq`` to show errors, but not warnings."},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"To decipher where tests are failing it may be useful to use jasmine in the"},{"line_number":43,"context_line":"browser to set break points on related functions and see what causes the"},{"line_number":44,"context_line":"test to fail. To do this, navigate to your local horizon in the browser and add"},{"line_number":45,"context_line":"\u0027/jasmine\u0027 to the end of the url. e.g: \u0027http://localhost:8000/jasmine\u0027. Once you"}],"source_content_type":"text/x-rst","patch_set":5,"id":"da36d5c6_cb027c09","line":42,"range":{"start_line":42,"start_character":60,"end_line":42,"end_character":67},"in_reply_to":"da36d5c6_2ff5edca","updated":"2017-02-27 17:26:37.000000000","message":"Done","commit_id":"631a72cbadf427c4e460610ca10689161f18ffc0"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"07d0e3cae23a9d73500895470d66165709792acd","unresolved":false,"context_lines":[{"line_number":40,"context_line":"``tox -e npm -- lintq`` to show errors, but not warnings."},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"To decipher where tests are failing it may be useful to use jasmine in the"},{"line_number":43,"context_line":"browser to set break points on related functions and see what causes the"},{"line_number":44,"context_line":"test to fail. To do this, navigate to your local horizon in the browser and add"},{"line_number":45,"context_line":"\u0027/jasmine\u0027 to the end of the url. e.g: \u0027http://localhost:8000/jasmine\u0027. Once you"},{"line_number":46,"context_line":"have the jasmine report you may click on the title of an individual test to"},{"line_number":47,"context_line":"re-run just that test."}],"source_content_type":"text/x-rst","patch_set":5,"id":"da36d5c6_cf0d31ea","line":44,"range":{"start_line":43,"start_character":8,"end_line":44,"end_character":13},"updated":"2017-02-27 14:22:38.000000000","message":"This isn\u0027t what the next line describes. This is just explaining how to run a single test, so this needs correcting.","commit_id":"631a72cbadf427c4e460610ca10689161f18ffc0"},{"author":{"_account_id":16628,"name":"Beth Elwell","email":"e.r.elwell@gmail.com","username":"bethelwell"},"change_message_id":"49fcb441130c399f057c688cf4a61ae718d80bab","unresolved":false,"context_lines":[{"line_number":40,"context_line":"``tox -e npm -- lintq`` to show errors, but not warnings."},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"To decipher where tests are failing it may be useful to use jasmine in the"},{"line_number":43,"context_line":"browser to set break points on related functions and see what causes the"},{"line_number":44,"context_line":"test to fail. To do this, navigate to your local horizon in the browser and add"},{"line_number":45,"context_line":"\u0027/jasmine\u0027 to the end of the url. e.g: \u0027http://localhost:8000/jasmine\u0027. Once you"},{"line_number":46,"context_line":"have the jasmine report you may click on the title of an individual test to"},{"line_number":47,"context_line":"re-run just that test."}],"source_content_type":"text/x-rst","patch_set":5,"id":"da36d5c6_abfd480a","line":44,"range":{"start_line":43,"start_character":8,"end_line":44,"end_character":13},"in_reply_to":"da36d5c6_cf0d31ea","updated":"2017-02-27 17:26:37.000000000","message":"Done","commit_id":"631a72cbadf427c4e460610ca10689161f18ffc0"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"737355d8056c870503ab55c338d560a8fc491fd4","unresolved":false,"context_lines":[{"line_number":59,"context_line":"To generate coverage reports, run ``tox -e npm``. The coverage reports can be"},{"line_number":60,"context_line":"found at ``horizon/coverage-karma/`` (framework tests) and"},{"line_number":61,"context_line":"``openstack_dashboard/coverage-karma/`` (dashboard tests). Load"},{"line_number":62,"context_line":"``\u003cbrowser\u003e/index.html`` in a browser to view the reports. Coverage reports can"},{"line_number":63,"context_line":"also found in the ``cover`` directory in the horizon root. There are subdirectories"},{"line_number":64,"context_line":"for horizon and openstack_dashboard, and then under a directory for the browser"},{"line_number":65,"context_line":"used to run the tests you should find an ``index.html``. This can then be opened"},{"line_number":66,"context_line":"to view the coverage details."},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"In this scenario you may need to submit a secondary patch to address test coverage"},{"line_number":69,"context_line":"for another function within horizon to ensure tests rise above the coverage"}],"source_content_type":"text/x-rst","patch_set":7,"id":"da36d5c6_6e398241","line":66,"range":{"start_line":62,"start_character":58,"end_line":66,"end_character":29},"updated":"2017-02-28 11:38:33.000000000","message":"This is incorrect; coverage reports aren\u0027t also found in cover/, its just that the original dir moved. So we need to rephrase the original doc, rather than adding to it. Really all that needs to change is to swap horizon/coverage-karma for cover/horizon and the same for o_d.","commit_id":"170c3991b8b37712a9f1d057b2da052399ff2f2a"},{"author":{"_account_id":16628,"name":"Beth Elwell","email":"e.r.elwell@gmail.com","username":"bethelwell"},"change_message_id":"1dd354c81e21d8d2a9787866065c94de80935d5b","unresolved":false,"context_lines":[{"line_number":59,"context_line":"To generate coverage reports, run ``tox -e npm``. The coverage reports can be"},{"line_number":60,"context_line":"found at ``horizon/coverage-karma/`` (framework tests) and"},{"line_number":61,"context_line":"``openstack_dashboard/coverage-karma/`` (dashboard tests). Load"},{"line_number":62,"context_line":"``\u003cbrowser\u003e/index.html`` in a browser to view the reports. Coverage reports can"},{"line_number":63,"context_line":"also found in the ``cover`` directory in the horizon root. There are subdirectories"},{"line_number":64,"context_line":"for horizon and openstack_dashboard, and then under a directory for the browser"},{"line_number":65,"context_line":"used to run the tests you should find an ``index.html``. This can then be opened"},{"line_number":66,"context_line":"to view the coverage details."},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"In this scenario you may need to submit a secondary patch to address test coverage"},{"line_number":69,"context_line":"for another function within horizon to ensure tests rise above the coverage"}],"source_content_type":"text/x-rst","patch_set":7,"id":"da36d5c6_62f27308","line":66,"range":{"start_line":62,"start_character":58,"end_line":66,"end_character":29},"in_reply_to":"da36d5c6_6e398241","updated":"2017-02-28 12:03:28.000000000","message":"Done","commit_id":"170c3991b8b37712a9f1d057b2da052399ff2f2a"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"737355d8056c870503ab55c338d560a8fc491fd4","unresolved":false,"context_lines":[{"line_number":67,"context_line":""},{"line_number":68,"context_line":"In this scenario you may need to submit a secondary patch to address test coverage"},{"line_number":69,"context_line":"for another function within horizon to ensure tests rise above the coverage"},{"line_number":70,"context_line":"threshold and your original patch can pass the necessary tests."},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"Writing Tests"},{"line_number":73,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":7,"id":"da36d5c6_6e10a2a9","line":70,"updated":"2017-02-28 11:38:33.000000000","message":"Not a big fan of this. It\u0027s almost advising a workaround. What scenario does this occur in?","commit_id":"170c3991b8b37712a9f1d057b2da052399ff2f2a"},{"author":{"_account_id":16628,"name":"Beth Elwell","email":"e.r.elwell@gmail.com","username":"bethelwell"},"change_message_id":"1dd354c81e21d8d2a9787866065c94de80935d5b","unresolved":false,"context_lines":[{"line_number":67,"context_line":""},{"line_number":68,"context_line":"In this scenario you may need to submit a secondary patch to address test coverage"},{"line_number":69,"context_line":"for another function within horizon to ensure tests rise above the coverage"},{"line_number":70,"context_line":"threshold and your original patch can pass the necessary tests."},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"Writing Tests"},{"line_number":73,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":7,"id":"da36d5c6_e2b8232d","line":70,"in_reply_to":"da36d5c6_6e10a2a9","updated":"2017-02-28 12:03:28.000000000","message":"This was in relation to the section I removed so this can probably also go now. Thanks for catching!","commit_id":"170c3991b8b37712a9f1d057b2da052399ff2f2a"},{"author":{"_account_id":15209,"name":"Lucas Xu","email":"hanxu@redhat.com","username":"xuh"},"change_message_id":"9880faefc5104de398c1a4bed624eb4af83d6207","unresolved":false,"context_lines":[{"line_number":57,"context_line":"compare your development branch; this will help identify missing tests."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"To generate coverage reports, run ``tox -e npm``. The coverage reports can be"},{"line_number":60,"context_line":"found at ``cover/horizon/`` (framework tests) and ``cover/openstack_dashboard/``"},{"line_number":61,"context_line":"(dashboard tests). Load ``\u003cbrowser\u003e/index.html`` in a browser to view the reports."},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"Writing Tests"}],"source_content_type":"text/x-rst","patch_set":8,"id":"ba2be162_22950240","line":60,"updated":"2017-03-01 19:01:14.000000000","message":"Hey Beth. Do we need to mention about swapping horizon/coverage-karma for cover/horizon here?","commit_id":"e721550e062fedb3783916c538eec80972e52a6b"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"6f19c0523a5d0912b04141dbca21a19964a78cbf","unresolved":false,"context_lines":[{"line_number":57,"context_line":"compare your development branch; this will help identify missing tests."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"To generate coverage reports, run ``tox -e npm``. The coverage reports can be"},{"line_number":60,"context_line":"found at ``cover/horizon/`` (framework tests) and ``cover/openstack_dashboard/``"},{"line_number":61,"context_line":"(dashboard tests). Load ``\u003cbrowser\u003e/index.html`` in a browser to view the reports."},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"Writing Tests"}],"source_content_type":"text/x-rst","patch_set":8,"id":"ba2be162_b6eb91af","line":60,"in_reply_to":"ba2be162_22950240","updated":"2017-03-02 11:07:52.000000000","message":"No, that was done a while ago, the docs were just outdated","commit_id":"e721550e062fedb3783916c538eec80972e52a6b"},{"author":{"_account_id":15209,"name":"Lucas Xu","email":"hanxu@redhat.com","username":"xuh"},"change_message_id":"9880faefc5104de398c1a4bed624eb4af83d6207","unresolved":false,"context_lines":[{"line_number":58,"context_line":""},{"line_number":59,"context_line":"To generate coverage reports, run ``tox -e npm``. The coverage reports can be"},{"line_number":60,"context_line":"found at ``cover/horizon/`` (framework tests) and ``cover/openstack_dashboard/``"},{"line_number":61,"context_line":"(dashboard tests). Load ``\u003cbrowser\u003e/index.html`` in a browser to view the reports."},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"Writing Tests"},{"line_number":64,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":8,"id":"ba2be162_a211f2b1","line":61,"updated":"2017-03-01 19:01:14.000000000","message":"Also, does \u003cbrowser\u003e mean the root directory of horizon? Or localhost? I haven\u0027t used Karma yet so it is a bit confused to me.\n\nThanks for working on it!","commit_id":"e721550e062fedb3783916c538eec80972e52a6b"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"6f19c0523a5d0912b04141dbca21a19964a78cbf","unresolved":false,"context_lines":[{"line_number":58,"context_line":""},{"line_number":59,"context_line":"To generate coverage reports, run ``tox -e npm``. The coverage reports can be"},{"line_number":60,"context_line":"found at ``cover/horizon/`` (framework tests) and ``cover/openstack_dashboard/``"},{"line_number":61,"context_line":"(dashboard tests). Load ``\u003cbrowser\u003e/index.html`` in a browser to view the reports."},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"Writing Tests"},{"line_number":64,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":8,"id":"ba2be162_d6cba551","line":61,"in_reply_to":"ba2be162_a211f2b1","updated":"2017-03-02 11:07:52.000000000","message":"If you open the cover directories, its organised by browser, like Chrome or Firefox. Thats what browser refers to.","commit_id":"e721550e062fedb3783916c538eec80972e52a6b"},{"author":{"_account_id":15209,"name":"Lucas Xu","email":"hanxu@redhat.com","username":"xuh"},"change_message_id":"e23b6a6a6740f8441e7325b858bd1f004cc0e9d6","unresolved":false,"context_lines":[{"line_number":58,"context_line":""},{"line_number":59,"context_line":"To generate coverage reports, run ``tox -e npm``. The coverage reports can be"},{"line_number":60,"context_line":"found at ``cover/horizon/`` (framework tests) and ``cover/openstack_dashboard/``"},{"line_number":61,"context_line":"(dashboard tests). Load ``\u003cbrowser\u003e/index.html`` in a browser to view the reports."},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"Writing Tests"},{"line_number":64,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":8,"id":"ba2be162_1ac3458a","line":61,"in_reply_to":"ba2be162_d6cba551","updated":"2017-03-03 21:02:23.000000000","message":"Thanks!. make sense","commit_id":"e721550e062fedb3783916c538eec80972e52a6b"}],"doc/source/topics/python_testing.rst":[{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"07d0e3cae23a9d73500895470d66165709792acd","unresolved":false,"context_lines":[{"line_number":1,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":2,"context_line":"Python Testing"},{"line_number":3,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"da36d5c6_0fdae9e9","line":1,"updated":"2017-02-27 14:22:38.000000000","message":"This entire doc can probably be removed, as it\u0027s no longer relevant.","commit_id":"631a72cbadf427c4e460610ca10689161f18ffc0"},{"author":{"_account_id":15209,"name":"Lucas Xu","email":"hanxu@redhat.com","username":"xuh"},"change_message_id":"7b336a32d703f45977c255393aae895f98704117","unresolved":false,"context_lines":[{"line_number":1,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":2,"context_line":"Python Testing"},{"line_number":3,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"da36d5c6_f87f1d64","line":1,"in_reply_to":"da36d5c6_0fdae9e9","updated":"2017-02-27 15:22:33.000000000","message":"I agree that we may not need this. But it would be great to have some testing tutorials for python as well. may just use \"tox\"?","commit_id":"631a72cbadf427c4e460610ca10689161f18ffc0"},{"author":{"_account_id":16628,"name":"Beth Elwell","email":"e.r.elwell@gmail.com","username":"bethelwell"},"change_message_id":"49fcb441130c399f057c688cf4a61ae718d80bab","unresolved":false,"context_lines":[{"line_number":1,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":2,"context_line":"Python Testing"},{"line_number":3,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"da36d5c6_55738fe7","line":1,"in_reply_to":"da36d5c6_f87f1d64","updated":"2017-02-27 17:26:37.000000000","message":"So I took this from the original overarching testing overview page so that there were separate documentation pages for the relevant specific documentation. For now, I will just delete this file and links to it but would it be worth compiling a list of things that this doc should cover?","commit_id":"631a72cbadf427c4e460610ca10689161f18ffc0"}],"doc/source/topics/testing.rst":[{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"8527095b3536d836febd5f27e778c0beec96743a","unresolved":false,"context_lines":[{"line_number":236,"context_line":"functions in the patch that has failed, but more that there are not enough tests"},{"line_number":237,"context_line":"across horizon that are related to your patch."},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"To check what is failing you can select the failing test followed by \u0027cover\u0027 and"},{"line_number":240,"context_line":"you will see different folders and files linking to the related coverage reports"},{"line_number":241,"context_line":"and where there are not enough tests. In this scenario you may need to submit a"},{"line_number":242,"context_line":"secondary patch to address test coverage for another function somewhere within"}],"source_content_type":"text/x-rst","patch_set":3,"id":"da36d5c6_01a20299","line":239,"updated":"2017-02-24 05:39:56.000000000","message":"This reads strangely to me. I think what you mean to say is \"The coverage reports may be found in the \u0027cover\u0027 directory. There\u0027s a subdirectory for horizon and openstack_dashboard and then under a directory for the browser used to run the tests you should find an index.html which may be viewed to see the coverage details.\"\n\nYeah?","commit_id":"8ef242b8ba062cddb4cdfca4b6eb4f53b71a96b4"},{"author":{"_account_id":16628,"name":"Beth Elwell","email":"e.r.elwell@gmail.com","username":"bethelwell"},"change_message_id":"1cb93dde5cb596ad5825dd92b9d1e562d8336b6c","unresolved":false,"context_lines":[{"line_number":236,"context_line":"functions in the patch that has failed, but more that there are not enough tests"},{"line_number":237,"context_line":"across horizon that are related to your patch."},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"To check what is failing you can select the failing test followed by \u0027cover\u0027 and"},{"line_number":240,"context_line":"you will see different folders and files linking to the related coverage reports"},{"line_number":241,"context_line":"and where there are not enough tests. In this scenario you may need to submit a"},{"line_number":242,"context_line":"secondary patch to address test coverage for another function somewhere within"}],"source_content_type":"text/x-rst","patch_set":3,"id":"da36d5c6_4034ebdc","line":239,"in_reply_to":"da36d5c6_01a20299","updated":"2017-02-24 14:24:52.000000000","message":"Thanks so much! Yes that it much better. I have added a break to the longer sentence to make it easier to read as I had to read it through a few times first but otherwise I have changed my original text to what you suggest above :)","commit_id":"8ef242b8ba062cddb4cdfca4b6eb4f53b71a96b4"},{"author":{"_account_id":8648,"name":"Radomir Dopieralski","email":"openstack@dopieralski.pl","username":"thesheep"},"change_message_id":"fa819efe7ba09cd2f5fd7ab898b823ab86ae1b73","unresolved":false,"context_lines":[{"line_number":233,"context_line":""},{"line_number":234,"context_line":"It is possible for tests to fail on your patch due to the npm-run-test not"},{"line_number":235,"context_line":"passing the minimum threshold. This is not necessarily related directly to the"},{"line_number":236,"context_line":"functions in the patch that has failed, but more that there are not enough tests"},{"line_number":237,"context_line":"across horizon that are related to your patch."},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"The coverage reports may be found in the \u0027cover\u0027 directory. There\u0027s a subdirectory"}],"source_content_type":"text/x-rst","patch_set":4,"id":"da36d5c6_14112b04","line":236,"updated":"2017-02-27 09:02:29.000000000","message":"have failed","commit_id":"61d29248e4f2afbc986f7968d03a460f259ed2da"},{"author":{"_account_id":16628,"name":"Beth Elwell","email":"e.r.elwell@gmail.com","username":"bethelwell"},"change_message_id":"2ef9f8b14ffa0801599625cf753ffc55042bd3f6","unresolved":false,"context_lines":[{"line_number":233,"context_line":""},{"line_number":234,"context_line":"It is possible for tests to fail on your patch due to the npm-run-test not"},{"line_number":235,"context_line":"passing the minimum threshold. This is not necessarily related directly to the"},{"line_number":236,"context_line":"functions in the patch that has failed, but more that there are not enough tests"},{"line_number":237,"context_line":"across horizon that are related to your patch."},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"The coverage reports may be found in the \u0027cover\u0027 directory. There\u0027s a subdirectory"}],"source_content_type":"text/x-rst","patch_set":4,"id":"da36d5c6_aa4c749e","line":236,"in_reply_to":"da36d5c6_14112b04","updated":"2017-02-27 10:27:08.000000000","message":"Done","commit_id":"61d29248e4f2afbc986f7968d03a460f259ed2da"},{"author":{"_account_id":8648,"name":"Radomir Dopieralski","email":"openstack@dopieralski.pl","username":"thesheep"},"change_message_id":"fa819efe7ba09cd2f5fd7ab898b823ab86ae1b73","unresolved":false,"context_lines":[{"line_number":238,"context_line":""},{"line_number":239,"context_line":"The coverage reports may be found in the \u0027cover\u0027 directory. There\u0027s a subdirectory"},{"line_number":240,"context_line":"for horizon and openstack_dashboard, and then under a directory for the browser"},{"line_number":241,"context_line":"used to run the tests you should find an index.html. This can then be viewed to see"},{"line_number":242,"context_line":"the coverage details."},{"line_number":243,"context_line":""},{"line_number":244,"context_line":"In this scenario you may need to submit a secondary patch to address test coverage"}],"source_content_type":"text/x-rst","patch_set":4,"id":"da36d5c6_14df6b3a","line":241,"updated":"2017-02-27 09:02:29.000000000","message":"``index.html``","commit_id":"61d29248e4f2afbc986f7968d03a460f259ed2da"},{"author":{"_account_id":16628,"name":"Beth Elwell","email":"e.r.elwell@gmail.com","username":"bethelwell"},"change_message_id":"2ef9f8b14ffa0801599625cf753ffc55042bd3f6","unresolved":false,"context_lines":[{"line_number":238,"context_line":""},{"line_number":239,"context_line":"The coverage reports may be found in the \u0027cover\u0027 directory. There\u0027s a subdirectory"},{"line_number":240,"context_line":"for horizon and openstack_dashboard, and then under a directory for the browser"},{"line_number":241,"context_line":"used to run the tests you should find an index.html. This can then be viewed to see"},{"line_number":242,"context_line":"the coverage details."},{"line_number":243,"context_line":""},{"line_number":244,"context_line":"In this scenario you may need to submit a secondary patch to address test coverage"}],"source_content_type":"text/x-rst","patch_set":4,"id":"da36d5c6_8a7b30bd","line":241,"in_reply_to":"da36d5c6_14df6b3a","updated":"2017-02-27 10:27:08.000000000","message":"Done","commit_id":"61d29248e4f2afbc986f7968d03a460f259ed2da"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"07d0e3cae23a9d73500895470d66165709792acd","unresolved":false,"context_lines":[{"line_number":228,"context_line":"    +        },"},{"line_number":229,"context_line":"             \u0027django.db.backends\u0027: {"},{"line_number":230,"context_line":""},{"line_number":231,"context_line":"Coverage reports"},{"line_number":232,"context_line":"----------------"},{"line_number":233,"context_line":""},{"line_number":234,"context_line":"It is possible for tests to fail on your patch due to the npm-run-test not"}],"source_content_type":"text/x-rst","patch_set":5,"id":"da36d5c6_0f53c96d","line":231,"updated":"2017-02-27 14:22:38.000000000","message":"Do we even need this? It\u0027s documented here: https://docs.openstack.org/developer/horizon/topics/javascript_testing.html#coverage-reports","commit_id":"631a72cbadf427c4e460610ca10689161f18ffc0"},{"author":{"_account_id":16628,"name":"Beth Elwell","email":"e.r.elwell@gmail.com","username":"bethelwell"},"change_message_id":"49fcb441130c399f057c688cf4a61ae718d80bab","unresolved":false,"context_lines":[{"line_number":228,"context_line":"    +        },"},{"line_number":229,"context_line":"             \u0027django.db.backends\u0027: {"},{"line_number":230,"context_line":""},{"line_number":231,"context_line":"Coverage reports"},{"line_number":232,"context_line":"----------------"},{"line_number":233,"context_line":""},{"line_number":234,"context_line":"It is possible for tests to fail on your patch due to the npm-run-test not"}],"source_content_type":"text/x-rst","patch_set":5,"id":"da36d5c6_f510035c","line":231,"in_reply_to":"da36d5c6_0f53c96d","updated":"2017-02-27 17:26:37.000000000","message":"I have added more detail here but maybe it is best appended to the link above. Thanks!","commit_id":"631a72cbadf427c4e460610ca10689161f18ffc0"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"07d0e3cae23a9d73500895470d66165709792acd","unresolved":false,"context_lines":[{"line_number":231,"context_line":"Coverage reports"},{"line_number":232,"context_line":"----------------"},{"line_number":233,"context_line":""},{"line_number":234,"context_line":"It is possible for tests to fail on your patch due to the npm-run-test not"},{"line_number":235,"context_line":"passing the minimum threshold. This is not necessarily related directly to the"},{"line_number":236,"context_line":"functions in the patch that have failed, but more that there are not enough tests"},{"line_number":237,"context_line":"across horizon that are related to your patch."}],"source_content_type":"text/x-rst","patch_set":5,"id":"da36d5c6_cf245162","line":234,"range":{"start_line":234,"start_character":58,"end_line":234,"end_character":70},"updated":"2017-02-27 14:22:38.000000000","message":"JavaScript tests*","commit_id":"631a72cbadf427c4e460610ca10689161f18ffc0"},{"author":{"_account_id":16628,"name":"Beth Elwell","email":"e.r.elwell@gmail.com","username":"bethelwell"},"change_message_id":"49fcb441130c399f057c688cf4a61ae718d80bab","unresolved":false,"context_lines":[{"line_number":231,"context_line":"Coverage reports"},{"line_number":232,"context_line":"----------------"},{"line_number":233,"context_line":""},{"line_number":234,"context_line":"It is possible for tests to fail on your patch due to the npm-run-test not"},{"line_number":235,"context_line":"passing the minimum threshold. This is not necessarily related directly to the"},{"line_number":236,"context_line":"functions in the patch that have failed, but more that there are not enough tests"},{"line_number":237,"context_line":"across horizon that are related to your patch."}],"source_content_type":"text/x-rst","patch_set":5,"id":"da36d5c6_2b6798eb","line":234,"range":{"start_line":234,"start_character":58,"end_line":234,"end_character":70},"in_reply_to":"da36d5c6_cf245162","updated":"2017-02-27 17:26:37.000000000","message":"Removed paragraph due to move to javascript_testing.rst","commit_id":"631a72cbadf427c4e460610ca10689161f18ffc0"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"07d0e3cae23a9d73500895470d66165709792acd","unresolved":false,"context_lines":[{"line_number":232,"context_line":"----------------"},{"line_number":233,"context_line":""},{"line_number":234,"context_line":"It is possible for tests to fail on your patch due to the npm-run-test not"},{"line_number":235,"context_line":"passing the minimum threshold. This is not necessarily related directly to the"},{"line_number":236,"context_line":"functions in the patch that have failed, but more that there are not enough tests"},{"line_number":237,"context_line":"across horizon that are related to your patch."},{"line_number":238,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"da36d5c6_4f194122","line":235,"range":{"start_line":235,"start_character":12,"end_line":235,"end_character":29},"updated":"2017-02-27 14:22:38.000000000","message":"minimum code coverage threshold","commit_id":"631a72cbadf427c4e460610ca10689161f18ffc0"},{"author":{"_account_id":16628,"name":"Beth Elwell","email":"e.r.elwell@gmail.com","username":"bethelwell"},"change_message_id":"49fcb441130c399f057c688cf4a61ae718d80bab","unresolved":false,"context_lines":[{"line_number":232,"context_line":"----------------"},{"line_number":233,"context_line":""},{"line_number":234,"context_line":"It is possible for tests to fail on your patch due to the npm-run-test not"},{"line_number":235,"context_line":"passing the minimum threshold. This is not necessarily related directly to the"},{"line_number":236,"context_line":"functions in the patch that have failed, but more that there are not enough tests"},{"line_number":237,"context_line":"across horizon that are related to your patch."},{"line_number":238,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"da36d5c6_cb9efcb7","line":235,"range":{"start_line":235,"start_character":12,"end_line":235,"end_character":29},"in_reply_to":"da36d5c6_4f194122","updated":"2017-02-27 17:26:37.000000000","message":"Removed paragraph due to move to javascript_testing.rst","commit_id":"631a72cbadf427c4e460610ca10689161f18ffc0"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"07d0e3cae23a9d73500895470d66165709792acd","unresolved":false,"context_lines":[{"line_number":232,"context_line":"----------------"},{"line_number":233,"context_line":""},{"line_number":234,"context_line":"It is possible for tests to fail on your patch due to the npm-run-test not"},{"line_number":235,"context_line":"passing the minimum threshold. This is not necessarily related directly to the"},{"line_number":236,"context_line":"functions in the patch that have failed, but more that there are not enough tests"},{"line_number":237,"context_line":"across horizon that are related to your patch."},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"The coverage reports may be found in the \u0027cover\u0027 directory. There\u0027s a subdirectory"},{"line_number":240,"context_line":"for horizon and openstack_dashboard, and then under a directory for the browser"}],"source_content_type":"text/x-rst","patch_set":5,"id":"da36d5c6_6fed25ef","line":237,"range":{"start_line":235,"start_character":31,"end_line":237,"end_character":46},"updated":"2017-02-27 14:22:38.000000000","message":"This is too vague. I\u0027m not sure what its supposed to be saying. Just remove it.","commit_id":"631a72cbadf427c4e460610ca10689161f18ffc0"},{"author":{"_account_id":16628,"name":"Beth Elwell","email":"e.r.elwell@gmail.com","username":"bethelwell"},"change_message_id":"49fcb441130c399f057c688cf4a61ae718d80bab","unresolved":false,"context_lines":[{"line_number":232,"context_line":"----------------"},{"line_number":233,"context_line":""},{"line_number":234,"context_line":"It is possible for tests to fail on your patch due to the npm-run-test not"},{"line_number":235,"context_line":"passing the minimum threshold. This is not necessarily related directly to the"},{"line_number":236,"context_line":"functions in the patch that have failed, but more that there are not enough tests"},{"line_number":237,"context_line":"across horizon that are related to your patch."},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"The coverage reports may be found in the \u0027cover\u0027 directory. There\u0027s a subdirectory"},{"line_number":240,"context_line":"for horizon and openstack_dashboard, and then under a directory for the browser"}],"source_content_type":"text/x-rst","patch_set":5,"id":"da36d5c6_eba3c0fe","line":237,"range":{"start_line":235,"start_character":31,"end_line":237,"end_character":46},"in_reply_to":"da36d5c6_6fed25ef","updated":"2017-02-27 17:26:37.000000000","message":"Done","commit_id":"631a72cbadf427c4e460610ca10689161f18ffc0"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"07d0e3cae23a9d73500895470d66165709792acd","unresolved":false,"context_lines":[{"line_number":236,"context_line":"functions in the patch that have failed, but more that there are not enough tests"},{"line_number":237,"context_line":"across horizon that are related to your patch."},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"The coverage reports may be found in the \u0027cover\u0027 directory. There\u0027s a subdirectory"},{"line_number":240,"context_line":"for horizon and openstack_dashboard, and then under a directory for the browser"},{"line_number":241,"context_line":"used to run the tests you should find an ``index.html``. This can then be viewed"},{"line_number":242,"context_line":"to see the coverage details."}],"source_content_type":"text/x-rst","patch_set":5,"id":"da36d5c6_6fc4455f","line":239,"range":{"start_line":239,"start_character":41,"end_line":239,"end_character":48},"updated":"2017-02-27 14:22:38.000000000","message":"``cover``\n\nAlso worth mentioning this dir is in the horizon root.","commit_id":"631a72cbadf427c4e460610ca10689161f18ffc0"},{"author":{"_account_id":16628,"name":"Beth Elwell","email":"e.r.elwell@gmail.com","username":"bethelwell"},"change_message_id":"49fcb441130c399f057c688cf4a61ae718d80bab","unresolved":false,"context_lines":[{"line_number":236,"context_line":"functions in the patch that have failed, but more that there are not enough tests"},{"line_number":237,"context_line":"across horizon that are related to your patch."},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"The coverage reports may be found in the \u0027cover\u0027 directory. There\u0027s a subdirectory"},{"line_number":240,"context_line":"for horizon and openstack_dashboard, and then under a directory for the browser"},{"line_number":241,"context_line":"used to run the tests you should find an ``index.html``. This can then be viewed"},{"line_number":242,"context_line":"to see the coverage details."}],"source_content_type":"text/x-rst","patch_set":5,"id":"da36d5c6_6bb8b02b","line":239,"range":{"start_line":239,"start_character":41,"end_line":239,"end_character":48},"in_reply_to":"da36d5c6_6fc4455f","updated":"2017-02-27 17:26:37.000000000","message":"Done","commit_id":"631a72cbadf427c4e460610ca10689161f18ffc0"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"07d0e3cae23a9d73500895470d66165709792acd","unresolved":false,"context_lines":[{"line_number":238,"context_line":""},{"line_number":239,"context_line":"The coverage reports may be found in the \u0027cover\u0027 directory. There\u0027s a subdirectory"},{"line_number":240,"context_line":"for horizon and openstack_dashboard, and then under a directory for the browser"},{"line_number":241,"context_line":"used to run the tests you should find an ``index.html``. This can then be viewed"},{"line_number":242,"context_line":"to see the coverage details."},{"line_number":243,"context_line":""},{"line_number":244,"context_line":"In this scenario you may need to submit a secondary patch to address test coverage"},{"line_number":245,"context_line":"for another function within horizon to ensure tests rise above the coverage"}],"source_content_type":"text/x-rst","patch_set":5,"id":"da36d5c6_2ff40d86","line":242,"range":{"start_line":241,"start_character":74,"end_line":242,"end_character":6},"updated":"2017-02-27 14:22:38.000000000","message":"opened to view*","commit_id":"631a72cbadf427c4e460610ca10689161f18ffc0"},{"author":{"_account_id":16628,"name":"Beth Elwell","email":"e.r.elwell@gmail.com","username":"bethelwell"},"change_message_id":"49fcb441130c399f057c688cf4a61ae718d80bab","unresolved":false,"context_lines":[{"line_number":238,"context_line":""},{"line_number":239,"context_line":"The coverage reports may be found in the \u0027cover\u0027 directory. There\u0027s a subdirectory"},{"line_number":240,"context_line":"for horizon and openstack_dashboard, and then under a directory for the browser"},{"line_number":241,"context_line":"used to run the tests you should find an ``index.html``. This can then be viewed"},{"line_number":242,"context_line":"to see the coverage details."},{"line_number":243,"context_line":""},{"line_number":244,"context_line":"In this scenario you may need to submit a secondary patch to address test coverage"},{"line_number":245,"context_line":"for another function within horizon to ensure tests rise above the coverage"}],"source_content_type":"text/x-rst","patch_set":5,"id":"da36d5c6_8bb5e432","line":242,"range":{"start_line":241,"start_character":74,"end_line":242,"end_character":6},"in_reply_to":"da36d5c6_2ff40d86","updated":"2017-02-27 17:26:37.000000000","message":"Done","commit_id":"631a72cbadf427c4e460610ca10689161f18ffc0"}]}
