1
0
mirror of https://github.com/ihabunek/toot.git synced 2024-11-03 04:17:21 -05:00

Fix tests

This commit is contained in:
Ivan Habunek 2018-06-27 16:29:45 +02:00
parent b9fd3bf98b
commit cf1217cc26
No known key found for this signature in database
GPG Key ID: CDBD63C43A30BB95

View File

@ -43,7 +43,7 @@ def test_post_defaults(mock_post, mock_uuid, capsys):
'status': 'Hello world',
'visibility': 'public',
'media_ids[]': None,
'sensitive': False,
'sensitive': "false",
'spoiler_text': None,
'in_reply_to_id': None,
}, headers={"Idempotency-Key": "rock-on"})
@ -76,7 +76,7 @@ def test_post_with_options(mock_post, mock_uuid, capsys):
'status': 'Hello world',
'media_ids[]': None,
'visibility': 'unlisted',
'sensitive': True,
'sensitive': "true",
'spoiler_text': "Spoiler!",
'in_reply_to_id': 123,
}, headers={"Idempotency-Key": "up-the-irons"})