Skip to content

Commit

Permalink
automl: fix batch test due to error message change (#3057)
Browse files Browse the repository at this point in the history
fix: #3052
  • Loading branch information
nnegrey authored Mar 6, 2020
1 parent 3bfad2c commit 1718111
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions automl/cloud-client/batch_predict_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ def test_batch_predict(capsys):
)
out, _ = capsys.readouterr()
assert (
"The model is either not found or not supported for prediction yet"
"does not exist"
in out
)
except Exception as e:
assert (
"The model is either not found or not supported for prediction yet"
"does not exist"
in e.message
)

0 comments on commit 1718111

Please sign in to comment.