[issue34549] unittest docs could use another header
New submission from Nick <manifes7o@gmail.com>: I find myself reaching for a list of the assert methods in the unittest library often. There are several methods but no clear way to link a URL via a header if you intend to bookmark or send it out. I have been using the method above the section in the meantime https://docs.python.org/3.7/library/unittest.html#unittest.TestCase.debug Would be great to have an `Assert Methods` header or some other equivalent. Thank you! ---------- assignee: docs@python components: Documentation messages: 324385 nosy: docs@python, napsterinblue priority: normal severity: normal status: open title: unittest docs could use another header type: enhancement versions: Python 3.7 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue34549> _______________________________________
Change by Grant Jenks <grant.jenks@gmail.com>: ---------- nosy: +grantjenks _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue34549> _______________________________________
Karthikeyan Singaravelan <tir.karthi@gmail.com> added the comment: Are you asking for a separate section grouping together all the assert methods from different parts which I think is useful. If you are looking for a better link then there is a link in the below text at the start of the page
If you are already familiar with the basic concepts of testing, you might want to skip to the list of assert methods.
The text "list of assert methods" links to https://docs.python.org/3.7/library/unittest.html#assert-methods which I hope is what you are looking for. Thanks ---------- nosy: +xtreak _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue34549> _______________________________________
Nick <manifes7o@gmail.com> added the comment: Ah, yes! Was searching for one of those helpful "Permalink to this ___" options. Didn't even see the link at the top. Thank you! ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue34549> _______________________________________
Karthikeyan Singaravelan <tir.karthi@gmail.com> added the comment: You're welcome. Feel free to close this if it answers your question. Thanks ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue34549> _______________________________________
Change by Nick <manifes7o@gmail.com>: ---------- resolution: -> works for me stage: -> resolved status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue34549> _______________________________________
participants (3)
-
Grant Jenks
-
Karthikeyan Singaravelan
-
Nick