diff --git a/test/dlc_tests/sanity/test_pre_release.py b/test/dlc_tests/sanity/test_pre_release.py index 46ffc4903df2..fc54aba55f45 100644 --- a/test/dlc_tests/sanity/test_pre_release.py +++ b/test/dlc_tests/sanity/test_pre_release.py @@ -284,7 +284,7 @@ def test_tf_serving_api_version(tensorflow_inference): elif "cpu" in image: cmd = "pip show tensorflow-serving-api | grep Version" else: - ValueError( + raise ValueError( "Test as of now only covers CPU and GPU type images. If required, please modify this test to accommodate the new image type!" )