Skip to content

Commit

Permalink
Use explicit URIs for Video Intelligence sample tests [(#1743)](Googl…
Browse files Browse the repository at this point in the history
  • Loading branch information
alixhami authored Oct 10, 2018
1 parent 9be4a76 commit 474bd6c
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions samples/shotchange/shotchange_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import os

import pytest

import shotchange

BUCKET = os.environ['CLOUD_STORAGE_BUCKET']
SHOTS_FILE_PATH = '/video/gbikes_dinosaur.mp4'


@pytest.mark.slow
def test_shots_dino(capsys):
shotchange.analyze_shots(
'gs://{}{}'.format(BUCKET, SHOTS_FILE_PATH))
shotchange.analyze_shots('gs://demomaker/gbikes_dinosaur.mp4')
out, _ = capsys.readouterr()
assert 'Shot 1:' in out

0 comments on commit 474bd6c

Please sign in to comment.