Uninett / zino

Zino 2.0 - Network state monitor for research networks
Apache License 2.0
3 stars 5 forks source link

Enable auto pytest-asyncio mode #355

Closed lunkwill42 closed 1 month ago

lunkwill42 commented 1 month ago

Scope and purpose

The only async system we are using in Zino is asyncio, so all async test functions and fixtures can be assumed to be asyncio without the need for an explicit marker.

This PR enables auto-asyncio mode and removes all obsolete explicit test markers.

Contributor Checklist

Every pull request should have this checklist filled out, no matter how small it is. More information about contributing to Zino can be found in the README.

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

github-actions[bot] commented 1 month ago

πŸ¦™ MegaLinter status: βœ… SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
βœ… PYTHON black 20 0 0.95s
βœ… PYTHON isort 20 0 0.24s
βœ… PYTHON ruff 20 0 0.02s

See detailed report in MegaLinter reports _Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff_

_MegaLinter is graciously provided by OX Security_

github-actions[bot] commented 1 month ago

Test results

β€‡β€ˆβ€‡β€‡3 filesβ€„β€ƒβ€‡β€ˆβ€‡β€‡3 suites   1m 25s :stopwatch: β€‡β€ˆ573 testsβ€ƒβ€‡β€ˆ573 :white_check_mark: 0 :zzz: 0 :x: 1β€ˆ671 runsβ€Šβ€ƒ1β€ˆ669 :white_check_mark: 2 :zzz: 0 :x:

Results for commit 671dad52.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.57%. Comparing base (419305a) to head (671dad5). Report is 3 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #355 +/- ## ======================================= Coverage 98.57% 98.57% ======================================= Files 77 77 Lines 9701 9701 ======================================= Hits 9562 9562 Misses 139 139 ```

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