diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_polls.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_polls.py b/tests/test_polls.py index ca7335d..2187d31 100644 --- a/tests/test_polls.py +++ b/tests/test_polls.py | |||
@@ -10,10 +10,12 @@ def test_polls(api, api2): | |||
10 | api.poll_vote(status_poll.poll, [1]) | 10 | api.poll_vote(status_poll.poll, [1]) |
11 | poll2 = api.poll(poll) | 11 | poll2 = api.poll(poll) |
12 | assert poll2.votes_count == 1 | 12 | assert poll2.votes_count == 1 |
13 | assert poll2.own_votes == [1] | ||
13 | 14 | ||
14 | api.poll_vote(status_poll.poll, [0]) | 15 | api.poll_vote(status_poll.poll, [0]) |
15 | poll3 = api.poll(poll) | 16 | poll3 = api.poll(poll) |
16 | assert poll3.votes_count == 2 | 17 | assert poll3.votes_count == 2 |
18 | assert poll3.own_votes == [1, 0] | ||
17 | 19 | ||
18 | api2.status_delete(status_poll) | 20 | api2.status_delete(status_poll) |
19 | 21 | ||