You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EasyBlocks that make use of the function check_accepted_eula (easybuilders/easybuild-framework#3535) will fail in the Unit tests, because the EULA is not accepted. This is the case for #2295
One possible solution would be to set the environment variable EASYBUILD_ACCEPT_EULA for that specific EasyBlock in the Unit test.
Another possible solution would be to include in accept_eula = True in the Dummy easyconfig file, e.g. here
I think the last option is the best. This can be done very easily by moving check_accepted_eula to the install_step. In that case the check is not executed for --module-only and the Unit test is passed.
EasyBlocks that make use of the function
check_accepted_eula
(easybuilders/easybuild-framework#3535) will fail in the Unit tests, because the EULA is not accepted. This is the case for #2295One possible solution would be to set the environment variable
EASYBUILD_ACCEPT_EULA
for that specific EasyBlock in the Unit test.Another possible solution would be to include in
accept_eula = True
in the Dummy easyconfig file, e.g. hereeasybuild-easyblocks/test/easyblocks/module.py
Line 92 in 8dcb466
Another possible solution would be to skip the
check_accepted_eula
function for--module-only
.CC @boegel
The text was updated successfully, but these errors were encountered: