We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d84af2d commit f345207Copy full SHA for f345207
video/cloud-client/labels/labels_test.py
@@ -14,20 +14,13 @@
14
# See the License for the specific language governing permissions and
15
# limitations under the License.
16
17
-import os
18
-
19
import pytest
20
21
import labels
22
23
24
-BUCKET = os.environ['CLOUD_STORAGE_BUCKET']
25
-LABELS_FILE_PATH = '/video/cat.mp4'
26
27
28
@pytest.mark.slow
29
def test_feline_video_labels(capsys):
30
- labels.analyze_labels(
31
- 'gs://{}{}'.format(BUCKET, LABELS_FILE_PATH))
+ labels.analyze_labels('gs://demomaker/cat.mp4')
32
out, _ = capsys.readouterr()
33
assert 'Video label description: cat' in out
0 commit comments