Skip to content

Commit 90bf56a

Browse files
gguusschingor13
authored andcommitted
samples: Change video test to not depend on specific inference
1 parent 36587af commit 90bf56a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

video/src/test/java/com/example/video/QuickstartIT.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ public void test() throws Exception {
5151
String got = bout.toString();
5252

5353
// Test that the video with a cat has the whiskers label (may change).
54-
assertThat(got.toUpperCase()).contains("WHISKERS");
54+
assertThat(got.toUpperCase()).contains("VIDEO LABEL DESCRIPTION");
55+
assertThat(got.toUpperCase()).contains("CONFIDENCE");
5556
}
5657
}

0 commit comments

Comments
 (0)