Skip to content

Commit

Permalink
replace demomaker with cloud-samples-data/video for video intelligenc…
Browse files Browse the repository at this point in the history
…… [(#2162)](GoogleCloudPlatform/python-docs-samples#2162)

* replace demomaker with cloud-samples-data/video for video intelligence samples

* flake
  • Loading branch information
dizcology authored May 16, 2019
1 parent 932893c commit 83e80fe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions samples/shotchange/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ To run this sample:
Example Usage:
python shotchange.py gs://demomaker/gbikes_dinosaur.mp4
python shotchange.py gs://cloud-samples-data/video/gbikes_dinosaur.mp4
positional arguments:
path GCS path for shot change detection.
Expand All @@ -113,4 +113,4 @@ to `browse the source`_ and `report issues`_.
https://github.com/GoogleCloudPlatform/google-cloud-python/issues


.. _Google Cloud SDK: https://cloud.google.com/sdk/
.. _Google Cloud SDK: https://cloud.google.com/sdk/
2 changes: 1 addition & 1 deletion samples/shotchange/shotchange.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
Example Usage:
python shotchange.py gs://demomaker/gbikes_dinosaur.mp4
python shotchange.py gs://cloud-samples-data/video/gbikes_dinosaur.mp4
"""

Expand Down
3 changes: 2 additions & 1 deletion samples/shotchange/shotchange_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

@pytest.mark.slow
def test_shots_dino(capsys):
shotchange.analyze_shots('gs://demomaker/gbikes_dinosaur.mp4')
shotchange.analyze_shots(
'gs://cloud-samples-data/video/gbikes_dinosaur.mp4')
out, _ = capsys.readouterr()
assert 'Shot 1:' in out

0 comments on commit 83e80fe

Please sign in to comment.