Skip to content

Add pytest fixture for testing migrations (TS-2289) #1093

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

x753
Copy link
Contributor

@x753 x753 commented Jan 31, 2025

Add pytest fixture for testing migrations
Also add test for repository 0055_delete_namespaces_without_team migration

Add pytest fixture for testing migrations
Also add test for repository 0055_delete_namespaces_without_team migration
@x753 x753 requested a review from Roffenlund January 31, 2025 20:31
@x753 x753 changed the title Add pytest fixture for testing migrations Add pytest fixture for testing migrations (TS-2289) Jan 31, 2025
Remove redundant MigrationRecorder check from migrate_db_state
Move migrate_db_state to conftest.py
Migrate to old migration before creating test data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants