postlund / pyatv

A client library for Apple TV and AirPlay devices
https://pyatv.dev
MIT License
839 stars 91 forks source link

tests: Migrate scriptenv to pytest and add tests for atvremote wizard #2203

Closed postlund closed 9 months ago

postlund commented 9 months ago

I have finally ported the environment used for script tests (e.g. atvremote and atvscript) to use pytest fixtures. This simplify things a lot. I have also added a test for the new wizard, verifying that credentials are saved to storage (something I screwed up before, thus not doing).

codecov[bot] commented 9 months ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (95d7d54) 88.97% compared to head (8e716d0) 88.97%. Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2203 +/- ## ======================================= Coverage 88.97% 88.97% ======================================= Files 167 167 Lines 11343 11343 ======================================= Hits 10092 10092 Misses 1251 1251 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.