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/server: Tear down test fixtures in the order they were setup #4715

Merged
merged 2 commits into from
Mar 20, 2023

Conversation

progval
Copy link
Contributor

@progval progval commented Mar 17, 2023

if for whatever reason before() fails to import the server, it causes after() to fail on the first line, so it doesn't restore stubs; causing other errors to be printed in other tests ("TypeError: Attempted to wrap warn which is already wrapped")

if for whatever reason before() fails to import the server, it causes after()
to fail on the first line, so it doesn't restore stubs; causing other errors
to be printed in other tests ("TypeError: Attempted to wrap warn which is
already wrapped")
@brunnre8
Copy link
Member

Might be worth a comment so that this doesn't get shuffled back in the future.

@brunnre8 brunnre8 added the Meta: Internal This is an internal codebase change (testing, linting, etc.). label Mar 18, 2023
@MaxLeiter MaxLeiter merged commit 4babd17 into thelounge:master Mar 20, 2023
@MaxLeiter MaxLeiter added this to the 4.4.0 milestone Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Meta: Internal This is an internal codebase change (testing, linting, etc.).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants