Skip to content

Commit 03d9e8e

Browse files
committed
fix unit test
avoid performing pip installs for mlflow-based tests
1 parent 30e19e4 commit 03d9e8e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/unit/cli/test_annotate.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ def test__annotate__loads_and_runs(self):
4141
model_file_path,
4242
"--output-h5ad-file",
4343
f"{query_dataset_file_path}.output",
44+
# avoid having mflow create conda env or virtualenv when in test env;
45+
# this avoids making pip remote requests and is also faster
46+
"--mlflow-env-manager", "local"
4447
],
4548
)
4649

0 commit comments

Comments
 (0)