diff --git a/test/test_natural_language_understanding.py b/test/test_natural_language_understanding.py index dc12ced22..4313ff34b 100644 --- a/test/test_natural_language_understanding.py +++ b/test/test_natural_language_understanding.py @@ -1,10 +1,10 @@ from unittest import TestCase from watson_developer_cloud import NaturalLanguageUnderstandingV1 from watson_developer_cloud import WatsonException -import watson_developer_cloud.natural_language_understanding.features.v1 as features +from watson_developer_cloud.natural_language_understanding.features import ( + v1 as features) import pytest import responses -import json base_url = 'https://gateway.watsonplatform.net' @@ -105,7 +105,7 @@ def test_html_analyze(self): password='password') nlu.analyze([features.Sentiment(), features.Emotion(document=False)], - html="hello this is a test") + html="hello this is a test") assert len(responses.calls) == 1 @responses.activate @@ -121,4 +121,4 @@ def test_url_analyze(self): nlu.analyze([features.Sentiment(), features.Emotion(document=False)], url="http://cnn.com", xpath="/bogus/xpath", language="en") - assert len(responses.calls) == 1 \ No newline at end of file + assert len(responses.calls) == 1