Skip to content

Commit

Permalink
Fix langauge test
Browse files Browse the repository at this point in the history
Change-Id: I285d4258c39ec7f0fd92e890a83e6dbc58941525
  • Loading branch information
Jon Wayne Parrott authored and busunkim96 committed Sep 29, 2020
1 parent d9561d4 commit 2ac4f17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion language/snippets/ocr_nl/main_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def test_entities_list(cloud_config):
locale, document = main.extract_description(texts[image_path])
text_analyzer = main.TextAnalyzer()
entities = text_analyzer.nl_detect(document)
assert len(entities) == 4
assert entities
etype, ename, salience, wurl = text_analyzer.extract_entity_info(
entities[0])
assert ename == 'bennet'
Expand Down

0 comments on commit 2ac4f17

Please sign in to comment.