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

Pytest improvements and cleanup #35421

Merged
merged 7 commits into from
Dec 2, 2024
Merged

Conversation

millerdev
Copy link
Contributor

Follow-up to #34778

🐡 Review by commit.

Safety Assurance

Safety story

Only affects tests.

Automated test coverage

Yes.

Rollback instructions

  • This PR can be reverted after deploy with no further considerations

The error raised if a "long_request" domain existed in Couch (due to previous incomplete test cleanup) was unintuitive (TypeError: the document is not saved). The root cause (NameUnavailableException: long_request) was buried back in the traceback.
custom/inddex/tests/test_master_report.py has an autouse fixture that uses databases, so non-db tests cannot live there.
@millerdev millerdev added the product/invisible Change has no end-user visible impact label Nov 22, 2024
@millerdev millerdev requested a review from gherceg November 22, 2024 15:11
@millerdev millerdev merged commit 661fe90 into master Dec 2, 2024
17 checks passed
@millerdev millerdev deleted the dm/pytest-premature-db-warning branch December 2, 2024 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product/invisible Change has no end-user visible impact
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants