Commit 24e31eb
committed
test: fix test by injecting test logger into client.
Upgrading all the pytest modules to the latest changed how caplog
worked in my test.
Before caplog's root logger was initializing early enough to be
inherited when the client module was loaded. However after the
upgrade, I got the default root logger and caplog's output was empty.
Inject the test cases logging.getLogger('roundup') to client.logger to
get caplog working again.1 parent dbeebd5 commit 24e31eb
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2308 | 2308 | | |
2309 | 2309 | | |
2310 | 2310 | | |
| 2311 | + | |
| 2312 | + | |
| 2313 | + | |
| 2314 | + | |
2311 | 2315 | | |
2312 | 2316 | | |
2313 | 2317 | | |
| |||
0 commit comments