Skip to content

Commit

Permalink
edited text analytics teset to pass travis (#3827)
Browse files Browse the repository at this point in the history
  • Loading branch information
iscai-msft authored and lmazuel committed Nov 19, 2018
1 parent 876dabd commit f48ef0c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def test_detect_language(self):
credentials = CognitiveServicesCredentials(
self.settings.CS_SUBSCRIPTION_KEY
)
text_analytics = TextAnalyticsClient("westcentralus", credentials=credentials)
text_analytics = TextAnalyticsClient(endpoint="https://westcentralus.api.cognitive.microsoft.com", credentials=credentials)
response = text_analytics.detect_language(
documents=[{
'id': 1,
Expand Down

0 comments on commit f48ef0c

Please sign in to comment.