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

Fix test failures due to presence of local config #357

Merged
merged 2 commits into from
Oct 10, 2024

Conversation

maksverver
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Oct 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.12%. Comparing base (ae5bc32) to head (b6f93ee).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #357      +/-   ##
==========================================
+ Coverage   95.10%   95.12%   +0.02%     
==========================================
  Files          96       96              
  Lines       12133    12132       -1     
  Branches      838      837       -1     
==========================================
+ Hits        11539    11541       +2     
+ Misses        518      516       -2     
+ Partials       76       75       -1     

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

Previously, get_default_config_path() was called upon import, which makes it
hard to override the return value in tests. With this change, the config path
is determined when cli() is called and not sooner.
@lemon24 lemon24 merged commit a07cc7a into lemon24:master Oct 10, 2024
20 checks passed
@maksverver maksverver deleted the fixes branch October 10, 2024 20:44
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