metrumresearchgroup / bbr

R interface for model and project management
https://metrumresearchgroup.github.io/bbr/
Other
23 stars 2 forks source link

tests: account for bbr.bbi_exe_mode default change #583

Closed kyleam closed 1 year ago

kyleam commented 1 year ago

When test-submit-model.R and test-submit-models.R check the dry run output, they assume the default mode is sge, but that's no longer the case as of e4619f05 (set bbr.bbi_exe_mode default to 'local' unless on linux, 2023-02-23).

Instead grab the value from bbr.bbi_exe_mode. While touching these lines, also move the leading prefix into a variable because that doesn't change for most calls.