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

advanced test suite failing due to relative import error #82

Closed
ThibHlln opened this issue Apr 10, 2022 · 0 comments
Closed

advanced test suite failing due to relative import error #82

ThibHlln opened this issue Apr 10, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ThibHlln
Copy link
Member

For some users, the use of relative imports for DummyC and DummyFortran components fails. The tests are structured as a package of its own, yet it includes some scripts to be run inside the package, which goes against the pattern for use of relative imports. See some explanations on SO: https://stackoverflow.com/a/16985066

It would be good to restructure the tests as a proper package of its own, and extract the run_all_tests.py and run_basic_tests.py from the package to become "users" of the package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant