-
Notifications
You must be signed in to change notification settings - Fork 32
[rel-DB] Fix different tests #3162
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
[rel-DB] Fix different tests #3162
Conversation
hjanott
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general I think that as long as the tests are running we don't need to do the clean-ups now. But it makes sense to do them while we are editing the files anyway. So let's keep your changes here.
| data: dict[str, Any], | ||
| collection: Literal["assignment", "motion"], | ||
| sub_collection: str, | ||
| back_relation: str, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing how this function shrank.
hjanott
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Failing tests should be resolved with #3159.
9e52dbb
into
OpenSlides:feature/relational-db
user.test_merge_together.pyfile, I've spot quite a bunch of back relations that were set manually. Cleaned up some of them but there are still a lot of them left. Do we want to remove them all too? Probably from the whole directory and in a separate PR? If that's the case, I'll move this commit to a new branch.