pytest_plugins = ["pytest_logdog"]
def test_it_works(logdog):
with logdog() as pile:
logging.info("Hello world!")
[rec] = pile.drain(message="Hello.*")
assert rec.levelno == logging.INFO
assert pile.is_empty()
-
Notifications
You must be signed in to change notification settings - Fork 0
Log capturing for pytest with usable interface
License
ods/pytest-logdog
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Log capturing for pytest with usable interface
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published