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

Improve utils shell tests #3183

Closed
wants to merge 17 commits into from
Closed

Improve utils shell tests #3183

wants to merge 17 commits into from

Conversation

KGB33
Copy link
Contributor

@KGB33 KGB33 commented Oct 12, 2020

Pull Request Check List

Issue: #3182
Relates-to: #3155

I added some tests for poetry/utils/shell.py

If possible feedback on the Shell.get() tests would be appreciated before I attempt tests for Shell.activate(). Particularly on testing for windows.

@KGB33 KGB33 marked this pull request as draft October 12, 2020 16:16
@abn abn linked an issue Oct 12, 2020 that may be closed by this pull request
2 tasks
@abn abn added hacktoberfest-accepted area/testing Related to the test suite labels Oct 13, 2020
@KGB33
Copy link
Contributor Author

KGB33 commented Oct 15, 2020

I'm a little unsure about my tests for Shell.get() and Shell.activate(). They feel too mocky, expecally activate.

@KGB33 KGB33 marked this pull request as ready for review October 15, 2020 15:58
@finswimmer finswimmer requested a review from a team October 17, 2020 15:28
@abn abn removed a link to an issue Oct 23, 2020
2 tasks
@sonarcloud
Copy link

sonarcloud bot commented Jun 27, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 20 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@KGB33
Copy link
Contributor Author

KGB33 commented May 2, 2022

Closing w/o merge.

I kinda forgot this was still open.

Its been 2+ years, It doesn't meaningfully contribute to poetry, & the test code isn't all that great.

@KGB33 KGB33 closed this May 2, 2022
@KGB33 KGB33 deleted the improve_utils_shell_tests branch May 2, 2022 23:09
Copy link

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 Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/testing Related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants