mirror of
https://github.com/ihabunek/toot.git
synced 2025-10-21 19:44:16 -04:00
Remove use of deprecated status.text_url
This commit is contained in:
@@ -293,13 +293,14 @@ def test_reblogged_by(mock_get, monkeypatch, capsys):
|
||||
])
|
||||
assert out == expected
|
||||
|
||||
|
||||
@mock.patch('toot.http.post')
|
||||
def test_upload(mock_post, capsys):
|
||||
mock_post.return_value = MockResponse({
|
||||
'id': 123,
|
||||
'url': 'https://bigfish.software/123/456',
|
||||
'preview_url': 'https://bigfish.software/789/012',
|
||||
'text_url': 'https://bigfish.software/345/678',
|
||||
'url': 'https://bigfish.software/345/678',
|
||||
'type': 'image',
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user