[issue27152] Additional assert methods for unittest
Robert Collins
report at bugs.python.org
Fri Jun 3 19:21:07 EDT 2016
Robert Collins added the comment:
I'm fine with these as a mixin - they are all very generic and unambiguously named. I'd marginally prefer the opt-in mixin over adding them to the base class.
Ideally they'd be matchers, but since I haven't ported that upstream yet, thats asking for more work, and we can always migrate later.
(https://rbtcollins.wordpress.com/2010/05/10/maintainable-pyunit-test-suites/ and http://testtools.readthedocs.io/en/latest/for-test-authors.html#matchers - sorry about the formatting in the blog post, wordpress changed theme details some time after I wrote the post and it now renders horribly :( )
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27152>
_______________________________________
More information about the Python-bugs-list
mailing list