Improve own_votes test
This commit is contained in:
pare
661e8e0abf
commit
b2bc879f44
|
@ -6,6 +6,7 @@ def test_polls(api, api2):
|
|||
status_poll = api2.status_post("nice", poll=poll_params)
|
||||
poll = status_poll.poll
|
||||
assert poll.votes_count == 0
|
||||
assert poll.own_votes == []
|
||||
|
||||
api.poll_vote(status_poll.poll, [1])
|
||||
poll2 = api.poll(poll)
|
||||
|
|
Loading…
Referencia en una nova incidència