Skip to content

Commit 2ac4f17

Browse files
Jon Wayne Parrottbusunkim96
Jon Wayne Parrott
authored andcommitted
Fix langauge test
Change-Id: I285d4258c39ec7f0fd92e890a83e6dbc58941525
1 parent d9561d4 commit 2ac4f17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

language/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)