Message197122
> So making assertions about logging is very common, but I *always* do
> this by just mocking out the logger and making an assertion about the
> call. It's trivially easy to do.
Only works if you test the exact logger that will be triggered, rather
than e.g. a child in the hierarchy (and the exact logging method, for
that matter, too). |
|
Date |
User |
Action |
Args |
2013-09-07 00:10:40 | pitrou | set | recipients:
+ pitrou, vinay.sajip, ezio.melotti, r.david.murray, michael.foord |
2013-09-07 00:10:40 | pitrou | link | issue18937 messages |
2013-09-07 00:10:40 | pitrou | create | |
|