Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: kalyan <[email protected]>
  • Loading branch information
rawwar committed Nov 3, 2023
1 parent eaf4bdc commit a6f0969
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ml_commons/test_ml_commons_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,10 @@ def test_train(iris_index):
assert "task_id" in response
assert "status" in response
assert response["status"] == "CREATED"

with pytest.raises(JSONDecodeError):
ml_client.train_model(algorithm_name, "", is_async=True)

with pytest.raises(RequestError):
ml_client.train_model(algorithm_name, {}, is_async=True)

Expand Down

0 comments on commit a6f0969

Please sign in to comment.