Skip to content

Remove useless ReportNode locale report and set tests locale default to stabilize report node tests #1225

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

Merged
merged 3 commits into from
May 19, 2025

Conversation

alicecaron
Copy link
Contributor

@alicecaron alicecaron commented Apr 15, 2025

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • A PR or issue has been opened in all impacted repositories (if any)

Does this PR already have an issue describing the problem?
No

What kind of change does this PR introduce?
Clean tests related to reports, set the US locale for the tests to stabilize them regardless of the machine environment running the tests. Remove useless test reports_en.properties (according to the core MR that will now set the default locale as the report default locale (see core#3406)).

What is the current behavior?
The tests about reports are sensible to the default locale and need an empty reports_en.properties to be successfull with the message template translation.

What is the new behavior (if this is a feature change)?
The tests on reports always set the locale US to ensure the tests will run successfully regardless the default locale of the machine running the tests.

Does this PR introduce a breaking change or deprecate an API?

  • Yes
  • No

If yes, please check if the following requirements are fulfilled

  • The Breaking Change or Deprecated label has been added
  • The migration steps are described in the following section

What changes might users need to make in their application due to this PR? (migration steps)

Other information:

@alicecaron alicecaron self-assigned this Apr 15, 2025
@alicecaron alicecaron moved this from TODO to Waiting for review in Release 06/2025 Apr 15, 2025
Base automatically changed from i18n to main April 18, 2025 12:00
alicecaron added 3 commits May 7, 2025 09:26
…to stabilize report node tests

Signed-off-by: CARON Alice <alice.caron@rte-france.com>
Signed-off-by: CARON Alice <alice.caron@rte-france.com>
Signed-off-by: CARON Alice <alice.caron@rte-france.com>
Copy link

sonarqubecloud bot commented May 7, 2025

@olperr1 olperr1 changed the title Remove useless ReportNode locale report and set tests locale default … Remove useless ReportNode locale report and set tests locale default to stabilize report node tests May 7, 2025
@github-project-automation github-project-automation bot moved this from Waiting for review to Approved in Release 06/2025 May 15, 2025
@vidaldid-rte vidaldid-rte requested a review from jeandemanged May 15, 2025 13:12
@vidaldid-rte vidaldid-rte merged commit b045896 into main May 19, 2025
8 checks passed
@vidaldid-rte vidaldid-rte deleted the i18n-clean branch May 19, 2025 11:58
@github-project-automation github-project-automation bot moved this from Approved to Done in Release 06/2025 May 19, 2025
@olperr1 olperr1 mentioned this pull request May 20, 2025
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants