If project is defined in config.yaml, use this project for default shortpaths. This is to prevent a mismatch of default shortpath when running commands on a login-node vs on a PBS payu run submission.
I also refactored the tests for laboratory basepaths to make each test a bit more isolated. I also added a couple more test cases.
coverage: 55.974% (+0.2%) from 55.76%
when pulling 100beee0722af7fcc1631a76294156fdae8e7ffa on ACCESS-NRI:502-shortpath-archives-bug
into 2826621a83bcb13315d3a003a946c5ca8069b1cd on payu-org:master.
Closes #502
If
project
is defined inconfig.yaml
, use this project for default shortpaths. This is to prevent a mismatch of default shortpath when running commands on a login-node vs on a PBSpayu run
submission.I also refactored the tests for laboratory basepaths to make each test a bit more isolated. I also added a couple more test cases.