Closed p-gentili closed 3 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 43.77%. Comparing base (
60578f6
) to head (ca4d677
). Report is 115 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
LGTM not merging as I have a question: is this the only reason why the "cycle" is not a cycle? Can't it happen that we unintentionally change the resolution and never put it back to the original value? That is what the diff was reporting in my imagination
Three things to keep in mind:
So the cycle is OFF -> resolution 1 -> res. 2 -> res. 3 and, with this, -> OFF.
For instance, the device linked in the Jira card was reporting before suspend only a FHD monitor and, after suspend, two FHD monitors.
ty for the explanation
Description
The Zapper EDID job leaves the "monitor" connected at the end of the test, making tests like "resolution_after_suspend" fail. This PR introduces a simple context manager to clear the environment at the end of the test.
Resolved issues
Resolves CHECKBOX-1436
Documentation
Tests are included and functions documented.
Tests
Locally, side-loading the provider and running in sequence