Skip to content

Suppress logs while running Python tests #5766

@DanielRyanSmith

Description

@DanielRyanSmith

When running the Python tests, our logs are quite noisy from all of the arbitrary logging going on. We can clean this up by patching our logs in the tests.

e.g.

@mock.patch('logging.error')

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions