diff --git a/tests/mock.py b/tests/mock.py index c3b973ce..092790b8 100644 --- a/tests/mock.py +++ b/tests/mock.py @@ -159,6 +159,11 @@ def mock_run_mmseqs2( "pairing_strategy": pairing_strategy, } + # make pre env-pair test work again, this was always true previously + # however didn't do anything + if len(query) > 1: + config["use_env"] = True + for saved_response in self.saved_responses: # backwards compatibility, remove after UPDATE_SNAPSHOTS if "pairing_strategy" not in saved_response["config"]: