Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: edwardfeng-db <jinghao.feng@databricks.com>
  • Loading branch information
edwardfeng-db committed Feb 20, 2024
1 parent 8c676d8 commit 1e8a1b2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/tracking/test_rest_tracking.py
Expand Up @@ -1764,7 +1764,8 @@ def test_get_experiment_graphql(mlflow_client):
headers={"content-type": "application/json; charset=utf-8"},
)
assert response.status_code == 200
assert "GraphqlTest" in response.text
json = response.json()
assert json["data"]["mlflowGetExperiment"]["experiment"]["name"] == "GraphqlTest"


def test_get_run_and_experiment_graphql(mlflow_client):
Expand All @@ -1790,4 +1791,5 @@ def test_get_run_and_experiment_graphql(mlflow_client):
headers={"content-type": "application/json; charset=utf-8"},
)
assert response.status_code == 200
assert "GraphqlTest" in response.text
json = response.json()
assert json["data"]["mlflowGetRun"]["run"]["experiment"]["name"] == "GraphqlTest"

0 comments on commit 1e8a1b2

Please sign in to comment.