)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"73c91b504ca7a61417900200f86ddc6beb9bcf8f","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":"Is the function of this library already covered by other"},{"line_number":65,"context_line":"libraries in global-requirements.txt?:"},{"line_number":66,"context_line":"pytest analogue is unittest, but pytest has benefits like"},{"line_number":67,"context_line":"builtin xml exporter, pluguaility, fixtures etc."},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"Is the library required for OpenStack project or related dev"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"1fa4df85_fb0b4a28","line":66,"range":{"start_line":66,"start_character":0,"end_line":66,"end_character":27},"updated":"2020-03-11 17:49:13.000000000","message":"Isn\u0027t pytest actually more analogue to stestr?","commit_id":"41bc11e2807275755018e8f2ead4047788b897c6"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"e47afba037336c1faf3223548a699b1a0fad4210","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":"Is the function of this library already covered by other"},{"line_number":65,"context_line":"libraries in global-requirements.txt?:"},{"line_number":66,"context_line":"pytest analogue is unittest, but pytest has benefits like"},{"line_number":67,"context_line":"builtin xml exporter, pluguaility, fixtures etc."},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"Is the library required for OpenStack project or related dev"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"1fa4df85_35200eb1","line":66,"range":{"start_line":66,"start_character":0,"end_line":66,"end_character":27},"in_reply_to":"1fa4df85_fb0b4a28","updated":"2020-03-11 20:08:11.000000000","message":"pytest is primarly a test framework that hapens to have a test run built in.\n\nso not really.\nit combines the functinaly of stestr (via the test runner), unittests (via the testing framework)\n\npytest can run test written with standard unittest module so you can take nova for example and use pytest to execute its unit test instead of stestr but pytest when used a a libary allow you to do\ndef test():\n  data \u003d {}\n  assert type(data) \u003d\u003d type(dict())\n\nand it will use pythons built in ast parser to inspect the assertion and generate good error messages.\n\nso unlike unittest2 you dont have to use an learn a bunch of \nself.asertEqual(expected,actual) functions\nyou just write pythone asserts and if the assert fires because the assetion fails it catches the exception and tells you why.\n\nthe plugin design make it easy to integrate with custom testing fixtures which is what pytest-django does\nhttps://pytest-django.readthedocs.io/en/latest/\n\nand pytest-html basically does what our gate sript does and produces a html report of the test resulsts \nhttps://cloud.githubusercontent.com/assets/122800/11951695/f371b926-a88a-11e5-91c2-499166776bd3.png","commit_id":"41bc11e2807275755018e8f2ead4047788b897c6"}]}
