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

Make running test_wps_parameters.py more flexible #22

Closed
eyvorchuk opened this issue Aug 11, 2020 · 0 comments · Fixed by #14
Closed

Make running test_wps_parameters.py more flexible #22

eyvorchuk opened this issue Aug 11, 2020 · 0 comments · Fixed by #14
Assignees

Comments

@eyvorchuk
Copy link
Contributor

Currently, the file paths inside sample_parameter_config.cfg are relative to the osprey root directory. This makes it so that running the test only succeeds if run from this root directory. In order to allow it so that the test can be run from anywhere, a temporary config file should be written at run time to contain the absolute paths using os.path.abspath and resource_filename and to be passed into wps_parameters.

@eyvorchuk eyvorchuk self-assigned this Aug 11, 2020
@eyvorchuk eyvorchuk linked a pull request Aug 11, 2020 that will close this issue
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 a pull request may close this issue.

1 participant