From cf1217cc26c08ac2c40596203aa4e88178ca476a Mon Sep 17 00:00:00 2001 From: Ivan Habunek Date: Wed, 27 Jun 2018 16:29:45 +0200 Subject: [PATCH] Fix tests --- tests/test_console.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_console.py b/tests/test_console.py index 56ed86d..35f032b 100644 --- a/tests/test_console.py +++ b/tests/test_console.py @@ -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"})