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

Tests: Some tests are failing on CI #11

Open
amotl opened this issue Apr 9, 2023 · 1 comment
Open

Tests: Some tests are failing on CI #11

amotl opened this issue Apr 9, 2023 · 1 comment

Comments

@amotl
Copy link
Member

amotl commented Apr 9, 2023

test_cli_list_quality_bytes

test_cli_list_quality_bytes fails on CI/GHA. Maybe only when running on Linux? It works on macOS though.

FAILED tests/test_metadata.py::test_cli_list_quality_bytes - AssertionError:
--- a
+++ b
[
@@ -0,6 +0,6 @@
 {
 -'Beschreibung': 'Feldwert ungepr³ft',
 +'Beschreibung': 'Feldwert ungeprüft',
  'Qualiaetsbyte': 0,
 },
 {'Qualiaetsbyte': 1, 'Beschreibung': 'Feldwert nicht beanstandet'},
 {'Qualiaetsbyte': 2, 'Beschreibung': 'Feldwert korrigiert'},
 {
 -'Beschreibung': 'Feldwert trotz Beanstandung bestõtigt',
 +'Beschreibung': 'Feldwert trotz Beanstandung bestätigt',
  'Qualiaetsbyte': 3,
 },
 {'Qualiaetsbyte': 5, 'Beschreibung': 'Feldwert zweifelhaft'},
 {
 -'Beschreibung': 'ung³ltiges Eintrittsdatum, z.B. 31. April, wird automatisch',
 +'Beschreibung': 'ungültiges Eintrittsdatum, z.B. 31. April, wird automatisch',
  'Qualiaetsbyte': 7,
 },
 {'Qualiaetsbyte': 8, 'Beschreibung': 'Feldwert falsch'},
]

-- https://github.com/earthobservations/phenodata/actions/runs/4652645604/jobs/8232986823#step:4:828

readme.rst

It looks like pytest-doctest-ellipsis-markers does not work on CI/GHA. How can this happen?

@amotl amotl changed the title Tests: Error on test_cli_list_quality_bytes Tests: Two tests are failing on CI Apr 10, 2023
@amotl amotl changed the title Tests: Two tests are failing on CI Tests: Tests are failing on CI Apr 10, 2023
@amotl amotl changed the title Tests: Tests are failing on CI Tests: Some tests are failing on CI Apr 10, 2023
@amotl
Copy link
Member Author

amotl commented Apr 30, 2023

test_cli_list_quality_bytes started failing after being upgraded to charset-normalizer version 3. We worked around it by limiting the version to charset-normalizer<3 now. We will have to follow up on this, and report the issue to the upstream authors.

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

No branches or pull requests

1 participant