aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhalcy <halcy@ARARAGI-KUN>2022-11-17 23:25:41 +0200
committerhalcy <halcy@ARARAGI-KUN>2022-11-17 23:25:41 +0200
commit897b3a23cf4177675f0769de68f08ad8c4faf335 (patch)
treee7eb1c75028792509e7f64f1a5eee3eb6e5643ae /tests/test_status.py
parent725f79466de65743df0c3498a1bb08e106b5209e (diff)
downloadmastodon.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.py1
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
Powered by cgit v1.2.3 (git 2.41.0)