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.

@njohner njohner force-pushed the nj/CA-1266/os_migration branch 4 times, most recently from 3113176 to 57a6bbb Compare December 28, 2020 08:45
@njohner njohner force-pushed the nj/CA-1266/os_migration branch 6 times, most recently from 96fb28b to 80a4258 Compare January 4, 2021 15:25
@njohner njohner force-pushed the nj/CA-1266/os_migration branch from 5810cb7 to bfabc72 Compare January 6, 2021 10:37
@njohner njohner force-pushed the nj/CA-1266/os_migration branch from 52d5367 to fa8b78d Compare February 19, 2021 10:20
@njohner njohner force-pushed the nj/CA-1266/os_migration branch 2 times, most recently from b012833 to e6a2aa4 Compare January 25, 2022 14:40
@njohner njohner force-pushed the nj/CA-1266/os_migration branch from 9aabdf9 to c443c17 Compare June 9, 2022 09:16
@njohner njohner force-pushed the nj/CA-1266/os_migration branch 2 times, most recently from 006cbcb to 0d2a6a9 Compare June 22, 2022 14:48
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.
@njohner njohner force-pushed the nj/CA-1266/os_migration branch from 97b1a47 to 28b5f06 Compare November 14, 2023 11:23
@njohner njohner force-pushed the nj/CA-1266/os_migration branch from a96872b to eacc040 Compare November 15, 2023 08:33
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.

1 participant