Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
milot-mirdita committed Jul 14, 2024
1 parent f4d9e37 commit 800bd5f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/mock.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]:
Expand Down

0 comments on commit 800bd5f

Please sign in to comment.