Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: add config to scan only tests directory #1031

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

efahl
Copy link
Contributor

@efahl efahl commented Oct 11, 2024

Add a config entry to constrain pytest's search for test files and functions to only the 'tests/' directory. This avoids error messages about read-only subdirectories, like you get when running squid.

Add a config entry to constrain pytest's search for test files and
functions to only the 'tests/' directory.  This avoids error messages
about read-only subdirectories, like you get when running squid.

Signed-off-by: Eric Fahlgren <[email protected]>
Copy link

codecov bot commented Oct 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.55%. Comparing base (5e65dec) to head (aa6eca8).
Report is 130 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1031      +/-   ##
==========================================
+ Coverage   80.75%   90.55%   +9.79%     
==========================================
  Files          15       14       -1     
  Lines         977     1080     +103     
==========================================
+ Hits          789      978     +189     
+ Misses        188      102      -86     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@efahl
Copy link
Contributor Author

efahl commented Oct 15, 2024

@aparcar I had forgotten this one, it has that same strange transient error on Py 311 when checking the timestamp results...

@aparcar aparcar merged commit e348820 into openwrt:main Oct 15, 2024
4 checks passed
@efahl efahl deleted the test-config branch October 15, 2024 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants