diff options
author | Lorenz Diener <[email protected]> | 2019-04-28 18:41:12 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2019-04-28 18:41:12 +0200 |
commit | d4e3feaeceba098c07123269ce2422858ca59098 (patch) | |
tree | 00fb7fc798da0d8471185de708f46acd474c90ab /mastodon | |
parent | 09f9023c7070c1610d0287953e9365ee00c5f374 (diff) | |
download | mastodon.py-d4e3feaeceba098c07123269ce2422858ca59098.tar.gz |
Fix up tests
Diffstat (limited to 'mastodon')
-rw-r--r-- | mastodon/Mastodon.py | 5 |
1 files changed, 5 insertions, 0 deletions
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: | |||
1555 | ### | 1555 | ### |
1556 | @api_version("2.7.0", "2.7.0", __DICT_VERSION_SCHEDULED_STATUS) | 1556 | @api_version("2.7.0", "2.7.0", __DICT_VERSION_SCHEDULED_STATUS) |
1557 | def update_scheduled_status(self, id, scheduled_at): | 1557 | def update_scheduled_status(self, id, scheduled_at): |
1558 | """ | ||
1559 | Update the scheduled time of a scheduled status. | ||
1560 | |||
1561 | New time must be at least 5 minutes into the future. | ||
1562 | """ | ||
1558 | scheduled_at = scheduled_at.isoformat() | 1563 | scheduled_at = scheduled_at.isoformat() |
1559 | id = self.__unpack_id(id) | 1564 | id = self.__unpack_id(id) |
1560 | self.__generate_params(locals(), ['id']) | 1565 | self.__generate_params(locals(), ['id']) |