aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_polls.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_polls.py b/tests/test_polls.py
index 2187d31..5f32526 100644
--- a/tests/test_polls.py
+++ b/tests/test_polls.py
@@ -6,7 +6,8 @@ def test_polls(api, api2):
6 status_poll = api2.status_post("nice", poll=poll_params) 6 status_poll = api2.status_post("nice", poll=poll_params)
7 poll = status_poll.poll 7 poll = status_poll.poll
8 assert poll.votes_count == 0 8 assert poll.votes_count == 0
9 9 assert poll.own_votes == []
10
10 api.poll_vote(status_poll.poll, [1]) 11 api.poll_vote(status_poll.poll, [1])
11 poll2 = api.poll(poll) 12 poll2 = api.poll(poll)
12 assert poll2.votes_count == 1 13 assert poll2.votes_count == 1
Powered by cgit v1.2.3 (git 2.41.0)