File tree Expand file tree Collapse file tree
packages/google-cloud-vision/unit_tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ def _make_pb_entity():
2323 description = 'testing 1 2 3'
2424 locale = 'US'
2525 mid = 'm/w/45342234'
26- score = 0.235434231
26+ score = 0.390625
2727
2828 entity_annotation = image_annotator_pb2 .EntityAnnotation (
2929 mid = mid ,
@@ -108,7 +108,7 @@ def test_it(self):
108108 description = 'testing 1 2 3'
109109 locale = 'US'
110110 mid = 'm/w/45342234'
111- score = 0.235434231
111+ score = 0.390625
112112 entity_annotation = _make_pb_entity ()
113113 entities = self ._call_fut ([entity_annotation ])
114114 self .assertEqual (len (entities ), 1 )
@@ -183,7 +183,7 @@ def test_it(self):
183183 description = 'testing 1 2 3'
184184 locale = 'US'
185185 mid = 'm/w/45342234'
186- score = 0.235434231
186+ score = 0.390625
187187 entity_annotation = _make_pb_entity ()
188188
189189 image_response = image_annotator_pb2 .AnnotateImageResponse (
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ def test_logo_pb_annotation(self):
3939 description = 'testing 1 2 3'
4040 locale = 'US'
4141 mid = 'm/w/45342234'
42- score = 0.235434231
42+ score = 0.875
4343 entity_annotation = image_annotator_pb2 .EntityAnnotation ()
4444 entity_annotation .mid = mid
4545 entity_annotation .locale = locale
You can’t perform that action at this time.
0 commit comments