19 Feb
2015
19 Feb
'15
2:25 a.m.
Hi, the idea is to have the assert statement call a global method, just like import does one could then do something like with exception.collect_assertions: assert myobj.foo is bar assert myobj.baz == 123 on order to do groups of assertions having more debugging information on failed assertions it could also enable more interesting context managers like with testtool.fail_lazy: ... # this would fail the test but not stop its exeution in the middle with testtools.informative_assert: ... # this will get logged but the test run wont be considered failed