Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yakky committed Apr 11, 2019
1 parent c665934 commit 7851339
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_history.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def test_issue(self, mock_requestmaker_get):
api.history.issue.get(res_id)
mock_requestmaker_get.assert_called_with(
'/{endpoint}/{entity}/{id}',
endpoint='history', entity='issue', id=res_id
endpoint='history', entity='issue', id=res_id, paginate=False
)

@patch('taiga.requestmaker.RequestMaker.get')
Expand All @@ -34,7 +34,7 @@ def test_task(self, mock_requestmaker_get):
api.history.task.get(res_id)
mock_requestmaker_get.assert_called_with(
'/{endpoint}/{entity}/{id}',
endpoint='history', entity='task', id=res_id
endpoint='history', entity='task', id=res_id, paginate=False
)

@patch('taiga.requestmaker.RequestMaker.get')
Expand All @@ -48,7 +48,7 @@ def test_userstory(self, mock_requestmaker_get):
api.history.user_story.get(res_id)
mock_requestmaker_get.assert_called_with(
'/{endpoint}/{entity}/{id}',
endpoint='history', entity='userstory', id=res_id
endpoint='history', entity='userstory', id=res_id, paginate=False
)

@patch('taiga.requestmaker.RequestMaker.get')
Expand All @@ -62,7 +62,7 @@ def test_wiki(self, mock_requestmaker_get):
api.history.wiki.get(res_id)
mock_requestmaker_get.assert_called_with(
'/{endpoint}/{entity}/{id}',
endpoint='history', entity='wiki', id=res_id
endpoint='history', entity='wiki', id=res_id, paginate=False
)

@patch('taiga.requestmaker.RequestMaker.post')
Expand Down

0 comments on commit 7851339

Please sign in to comment.