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 are failing now because somehow the test_data_path fixture seems to point to the wrong directory. #1600

Closed
bouweandela opened this issue May 23, 2022 · 0 comments · Fixed by #1601
Labels

Comments

@bouweandela
Copy link
Member

Tests are failing now because somehow the test_data_path fixture seems to point to the wrong directory.

It should point to ESMValCore/tests/integration/cmor/_fixes/test_data, while on the CI machine it apparently points to /root/project/tests/integration/cmor/_fixes/test_data.

Locally this test runs fine. In addition, other tests that use that fixture also seem to run fine (e.g., tests/integration/cmor/_fixes/test_common.py, tests/integration/cmor/_fixes/icon/test_icon.py, etc.).

Might this be related to #1588 @bouweandela? I think this error appeared after merging the current main with these changes into this branch.

Originally posted by @schlunma in #1554 (comment)

@bouweandela bouweandela changed the title Tests are failing now because somehow the [test_data_path fixture](https://github.com/ESMValGroup/ESMValCore/blob/2f28031b354224f5d45b6960acf4d3fd2caa3192/tests/integration/cmor/_fixes/conftest.py#L8-L11) seems to point to the wrong directory. Tests are failing now because somehow the test_data_path fixture seems to point to the wrong directory. May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant