Skip to content

add regular endpoint in new env variable #11031

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdk/textanalytics/azure-ai-textanalytics/tests/testcase.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def __init__(self, method_name):
super(TextAnalyticsTest, self).__init__(method_name)

def get_oauth_endpoint(self):
return self.get_settings_value("TEXT_ANALYTICS_ENDPOINT")
return self.get_settings_value("TEXT_ANALYTICS_ENDPOINT_STABLE")

def generate_oauth_token(self):
if self.is_live:
Expand Down
1 change: 1 addition & 0 deletions sdk/textanalytics/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
EnvVars:
AZURE_SUBSCRIPTION_ID: $(azure-subscription-id)
AZURE_TEXT_ANALYTICS_ENDPOINT: $(python-textanalytics-test-textanalytics-account-name)
AZURE_TEXT_ANALYTICS_ENDPOINT_STABLE: $(python-textanalytics-test-textanalytics-account-name-stable)
AZURE_TEXT_ANALYTICS_KEY: $(python-textanalytics-test-textanalytics-account-key)
AZURE_TENANT_ID: $(aad-azure-sdk-test-tenant-id)
AZURE_CLIENT_SECRET: $(aad-azure-sdk-test-client-secret)
Expand Down