From d4e3feaeceba098c07123269ce2422858ca59098 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Sun, 28 Apr 2019 18:41:12 +0200 Subject: Fix up tests --- mastodon/Mastodon.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mastodon') diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index 7561cea..d4c458f 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py @@ -1555,6 +1555,11 @@ class Mastodon: ### @api_version("2.7.0", "2.7.0", __DICT_VERSION_SCHEDULED_STATUS) def update_scheduled_status(self, id, scheduled_at): + """ + Update the scheduled time of a scheduled status. + + New time must be at least 5 minutes into the future. + """ scheduled_at = scheduled_at.isoformat() id = self.__unpack_id(id) self.__generate_params(locals(), ['id']) -- cgit v1.2.3