diff options
author | halcy <halcy@ARARAGI-KUN> | 2022-11-17 23:25:41 +0200 |
---|---|---|
committer | halcy <halcy@ARARAGI-KUN> | 2022-11-17 23:25:41 +0200 |
commit | 897b3a23cf4177675f0769de68f08ad8c4faf335 (patch) | |
tree | e7eb1c75028792509e7f64f1a5eee3eb6e5643ae /tests/test_status.py | |
parent | 725f79466de65743df0c3498a1bb08e106b5209e (diff) | |
download | mastodon.py-897b3a23cf4177675f0769de68f08ad8c4faf335.tar.gz |
add server datetime retriever, fix tests some more
Diffstat (limited to 'tests/test_status.py')
-rw-r--r-- | tests/test_status.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_status.py b/tests/test_status.py index 7e30362..f45634f 100644 --- a/tests/test_status.py +++ b/tests/test_status.py | |||
@@ -53,6 +53,7 @@ def test_status_card_pre_2_9_2(api): | |||
53 | import time | 53 | import time |
54 | status = api.status_post("http://example.org/") | 54 | status = api.status_post("http://example.org/") |
55 | time.sleep(5) # Card generation may take time | 55 | time.sleep(5) # Card generation may take time |
56 | api.verify_minimum_version("2.9.2", cached=False) | ||
56 | card = api.status_card(status['id']) | 57 | card = api.status_card(status['id']) |
57 | try: | 58 | try: |
58 | assert card | 59 | assert card |