From 800bd5f29791e47dc838a51dadb97e04b9128ce3 Mon Sep 17 00:00:00 2001 From: Milot Mirdita Date: Sun, 14 Jul 2024 17:10:56 +0900 Subject: [PATCH] Fix tests --- tests/mock.py | 5 +++++ 1 file changed, 5 insertions(+) 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"]: