Skip to content

Commit 01de0d6

Browse files
committed
fix(python discovery): correcting the username and password
1 parent 598f8f2 commit 01de0d6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/integration/test_integration_discovery_v1.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ class Discoveryv1(TestCase):
77
def setUp(self):
88
self.discovery = watson_developer_cloud.DiscoveryV1(
99
version='2017-10-16',
10-
username=os.getenv('SPEECH_TO_TEXT_USERNAME'),
11-
password=os.getenv('SPEECH_TO_TEXT_PASSWORD'))
10+
username=os.getenv('DISCOVERY_TO_TEXT_USERNAME'),
11+
password=os.getenv('DISCOVERY_TO_TEXT_PASSWORD'))
1212
self.discovery.set_default_headers({'X-Watson-Learning-Opt-Out': '1', 'X-Watson-Test': '1'})
1313
self.environment_id = 'e15f6424-f887-4f50-b4ea-68267c36fc9c' # This environment is created for integration testing
1414
self.collection_id = self.discovery.list_collections(self.environment_id)['collections'][0]['collection_id']

0 commit comments

Comments
 (0)