Skip to content

Improve test cleanup in test_ev_charger_status.py #908

Open
@shsms

Description

@shsms

For proper cleanup, it might be a good idea to put this in a ExitStack, so it is cancelled and awaited even if the test exits due to an unhandled exception (like an assertion).

Originally posted by @llucax in #900 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    part:testsAffects the unit, integration and performance (benchmarks) teststype:tech-debtImproves the project without visible changes for users

    Type

    No type

    Projects

    Status

    To do

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions