Skip to content

Commit 800bd5f

Browse files
committed
Fix tests
1 parent f4d9e37 commit 800bd5f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/mock.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,11 @@ def mock_run_mmseqs2(
159159
"pairing_strategy": pairing_strategy,
160160
}
161161

162+
# make pre env-pair test work again, this was always true previously
163+
# however didn't do anything
164+
if len(query) > 1:
165+
config["use_env"] = True
166+
162167
for saved_response in self.saved_responses:
163168
# backwards compatibility, remove after UPDATE_SNAPSHOTS
164169
if "pairing_strategy" not in saved_response["config"]:

0 commit comments

Comments
 (0)