Skip to content

Commit

Permalink
Set experiment id in conftest fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
deadlycoconuts committed Feb 11, 2024
1 parent 51214d9 commit 74ecca2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/sdk/test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ def model(project, mlflow_url, api_client):
@pytest.fixture
def version(project, model, mlflow_url, api_client):
mlflow.set_tracking_uri(mlflow_url)
mlflow.set_experiment(1)
r = mlflow.start_run(run_id=None)
mlflow.end_run()
v = cl.Version(
Expand Down

0 comments on commit 74ecca2

Please sign in to comment.