Skip to content

Commit

Permalink
tests/budgeting/test_proposal_api: little change that makes more sense
Browse files Browse the repository at this point in the history
  • Loading branch information
rine committed Jan 7, 2022
1 parent ab0fa8b commit cb763fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/budgeting/test_proposals_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def test_proposal_list_pagination(apiclient, module, proposal_factory):
url_tmp = url + '?page=2'
response = apiclient.get(url_tmp)
assert not response.data['next']
assert not response.data['previous'].endswith('?page=1')
assert response.data['previous'].endswith(url)
assert len(response.data['results']) == 1

proposal = Proposal.objects.last()
Expand Down

0 comments on commit cb763fe

Please sign in to comment.