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

Add OS migration tests. #6792

Draft
wants to merge 41 commits into
base: master
Choose a base branch
from
Draft

Add OS migration tests. #6792

wants to merge 41 commits into from

Conversation

njohner
Copy link
Contributor

@njohner njohner commented Dec 21, 2020

Tests for 4teamwork/opengever.maintenance#240.
These will not get merged. I'd keep the branch around for future developments though.

I have just rebased (15.11.2023) and run the tests locally. Everything is green.

Niklaus Johner added 27 commits November 14, 2023 12:13
We now also require that the migration excel is complete, i.e. all
positions are in the excel.
If the default language is english, now that we have an title_en
field, changing the title_de will not change the path anymore. So
we need to make sure to run the tests with "de" as default language.
When moving data extraction to its own method, we also added a new
logging entry. Dito when adding the new PositionsMapping.
We also take that chance to improve maintainability of the tests
by extracting default values of the attributes in default_data.
This avoids a lot of repetition of these values in the tests so
that they don't have to be updated everywhere when attributes
change.
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.

None yet

1 participant