From 60d4a87b29ded957429d4311f0af3af1c6b0d7ff Mon Sep 17 00:00:00 2001 From: Tianzi Cai Date: Tue, 27 Aug 2019 14:29:39 -0700 Subject: [PATCH] Use video_path fixture --- video/cloud-client/analyze/beta_snippets_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/video/cloud-client/analyze/beta_snippets_test.py b/video/cloud-client/analyze/beta_snippets_test.py index 5c9e533341c9..5652c9e5d0ce 100644 --- a/video/cloud-client/analyze/beta_snippets_test.py +++ b/video/cloud-client/analyze/beta_snippets_test.py @@ -164,10 +164,10 @@ def test_track_objects_gcs(): @pytest.mark.slow -def test_streaming_automl_classification(capsys, in_file): +def test_streaming_automl_classification(capsys, video_path): project_id = os.environ['GCLOUD_PROJECT'] model_id = 'VCN6363999689846554624' beta_snippets.streaming_automl_classification( - in_file, project_id, model_id) + video_path, project_id, model_id) out, _ = capsys.readouterr() assert 'brush_hair' in out