Skip to content
This repository was archived by the owner on Sep 5, 2023. It is now read-only.

Commit 6c5f777

Browse files
Jon Wayne Parrottbusunkim96
authored andcommitted
Fix langauge test
Change-Id: I285d4258c39ec7f0fd92e890a83e6dbc58941525
1 parent 2df9bd2 commit 6c5f777

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/snippets/ocr_nl/main_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def test_entities_list(cloud_config):
7373
locale, document = main.extract_description(texts[image_path])
7474
text_analyzer = main.TextAnalyzer()
7575
entities = text_analyzer.nl_detect(document)
76-
assert len(entities) == 4
76+
assert entities
7777
etype, ename, salience, wurl = text_analyzer.extract_entity_info(
7878
entities[0])
7979
assert ename == 'bennet'

0 commit comments

Comments
 (0)