Skip to content

Commit d71742f

Browse files
committed
feat(AssistantV1): New param sort in get_workspace
1 parent c80a4e2 commit d71742f

File tree

2 files changed

+158
-74
lines changed

2 files changed

+158
-74
lines changed

test/unit/test_assistant_v1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1359,7 +1359,7 @@ def test_get_workspace():
13591359
content_type='application/json')
13601360
service = watson_developer_cloud.AssistantV1(
13611361
username='username', password='password', version='2017-02-03')
1362-
workspace = service.get_workspace(workspace_id='boguswid', export=False).get_result()
1362+
workspace = service.get_workspace(workspace_id='boguswid', export=True, sort='stable').get_result()
13631363
assert len(responses.calls) == 1
13641364
assert responses.calls[0].request.url.startswith(url)
13651365
assert workspace == response

0 commit comments

Comments
 (0)