Improve own_votes test
This commit is contained in:
pare
661e8e0abf
commit
b2bc879f44
S'han modificat 1 arxius amb 2 adicions i 1 eliminacions
|
@ -6,7 +6,8 @@ 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)
|
||||
assert poll2.votes_count == 1
|
||||
|
|
Loading…
Referencia en una nova incidència