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

Add tests and remove unused params for test_config.py #7910

Merged
merged 16 commits into from
May 12, 2023
Merged

Add tests and remove unused params for test_config.py #7910

merged 16 commits into from
May 12, 2023

Conversation

savannahostrowski
Copy link
Contributor

@savannahostrowski savannahostrowski commented May 12, 2023

Pull Request Check List

Relates-to: #3155

  • Added tests for changed code.
  • Updated documentation for changed code.

This PR removes unused parameters in function signatures and adds additional tests for the config command, which brings the coverage from 69% to 95%.

Before:

src/poetry/console/commands/config.py       166     52    69%   22, 101-102, 121, 128-139, 142, 157-158, 170-189, 201-206, 209-223, 226, 243-247, 259, 263, 275, 279, 303-306

After:

src/poetry/console/commands/config.py       166      8    95%   22, 101-102, 210-213, 303-306

@Secrus Secrus closed this May 12, 2023
@Secrus Secrus reopened this May 12, 2023
Copy link

github-actions bot commented Mar 3, 2024

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants