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
Some functional tests have been developed to check if an error is outputted under certain conditions. For example, if the user inputs "UPG_1" as the main_metafounder. This will cause an error, exiting the program, and informing the user "Error: The main_metafounder must start with MF_." Currently, these functional tests only check the exit_code (2 or 512). Ideally, this will check the exact error message instead. Thus far, we have tried using subprocess, capsys(), and pytest.raises(<error_type>, match = "error message" but none has worked.
The text was updated successfully, but these errors were encountered:
Some functional tests have been developed to check if an error is outputted under certain conditions. For example, if the user inputs "UPG_1" as the main_metafounder. This will cause an error, exiting the program, and informing the user "Error: The main_metafounder must start with MF_." Currently, these functional tests only check the exit_code (2 or 512). Ideally, this will check the exact error message instead. Thus far, we have tried using
subprocess
,capsys()
, andpytest.raises(<error_type>, match = "error message"
but none has worked.The text was updated successfully, but these errors were encountered: