Skip to content

Pytest-html 3.0.0 does not capture logs #378

Closed
@buster3

Description

@buster3

Since pytest-html==3.0.0 I get "No log output captured." in the html output. Everything works fine for pytest-html==2.1.1. Is this an intended change? How do I re-enable the log capture?

I generate log messages using

  import logging

    def test_pass():
        logging.info('info pass test')

Metadata

Metadata

Assignees

Labels

questionThis PR is asking whether it is possible to achieve a certain outcome

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions