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

test: speed up test suite #354

Merged
merged 2 commits into from
Aug 20, 2023
Merged

test: speed up test suite #354

merged 2 commits into from
Aug 20, 2023

Conversation

branchvincent
Copy link
Member

We had a few time.sleep's to test advancing progress bars, but really slowed down our tests. This mocks time.now instead, reducing the test suite (on my machine) from ~5s to ~0.5s.

@branchvincent branchvincent added the skip news Skip the check for a news file label Aug 20, 2023
@branchvincent branchvincent requested a review from Secrus August 20, 2023 22:32
@Secrus Secrus merged commit 7448f55 into python-poetry:main Aug 20, 2023
@branchvincent branchvincent deleted the tests branch August 20, 2023 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news Skip the check for a news file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants