diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2023-01-10 13:43:56 -0500 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2023-01-10 21:53:42 -0500 |
commit | d2a26df77081e7b389c6716bfbf45ac16a3bf291 (patch) | |
tree | 28d24f7d13f75fd3a7a535dfd40c9ca75377371c /tests | |
parent | e5495aa06153f7454a7576e4ec23b54fe062b844 (diff) |
Set up icecream in test harness
Diffstat (limited to 'tests')
-rw-r--r-- | tests/conftest.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index 3cecb7e8..b28d2a17 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -10,6 +10,12 @@ from .loop import LoopSocket from .stub_sftp import StubServer, StubSFTPServer from .util import _support +from icecream import ic, install as install_ic + + +install_ic() +ic.configureOutput(includeContext=True) + # Perform logging by default; pytest will capture and thus hide it normally, # presenting it on error/failure. (But also allow turning it off when doing |