Skip to content

Commit

Permalink
point to specific URIs for shot change snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
alixhami committed Oct 9, 2018
1 parent 263263b commit 0f39f63
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions video/cloud-client/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 0f39f63

Please sign in to comment.