def test_streaming_automl_classification(capsys, video_path):
    project_id = os.environ["GOOGLE_CLOUD_PROJECT"]
    model_id = "VCN6363999689846554624"
    beta_snippets.streaming_automl_classification(video_path, project_id,
                                                  model_id)
    out, _ = capsys.readouterr()
    assert "brush_hair" in out
Пример #2
0
def test_streaming_automl_classification(capsys, video_path):
    project_id = os.environ['GCLOUD_PROJECT']
    model_id = 'VCN6363999689846554624'
    beta_snippets.streaming_automl_classification(video_path, project_id,
                                                  model_id)
    out, _ = capsys.readouterr()
    assert 'brush_hair' in out