Skip to content

Commit

Permalink
feat(AssistantV1): New param sort in get_workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
ehdsouza committed Dec 5, 2018
1 parent c80a4e2 commit d71742f
Show file tree
Hide file tree
Showing 2 changed files with 158 additions and 74 deletions.
2 changes: 1 addition & 1 deletion test/unit/test_assistant_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -1359,7 +1359,7 @@ def test_get_workspace():
content_type='application/json')
service = watson_developer_cloud.AssistantV1(
username='username', password='password', version='2017-02-03')
workspace = service.get_workspace(workspace_id='boguswid', export=False).get_result()
workspace = service.get_workspace(workspace_id='boguswid', export=True, sort='stable').get_result()
assert len(responses.calls) == 1
assert responses.calls[0].request.url.startswith(url)
assert workspace == response
Expand Down
Loading

0 comments on commit d71742f

Please sign in to comment.