mirror of
https://github.com/ihabunek/toot
synced 2025-01-22 23:40:18 +01:00
Fix tests on Python 3.5
This commit is contained in:
parent
ceb324e9b0
commit
ce0df5f1b7
@ -124,7 +124,7 @@ def test_upload(mock_post, capsys):
|
||||
|
||||
console.run_command(app, user, 'upload', [__file__])
|
||||
|
||||
mock_post.assert_called_once()
|
||||
mock_post.call_count == 1
|
||||
|
||||
args, kwargs = http.post.call_args
|
||||
assert args == (app, user, '/api/v1/media')
|
||||
|
Loading…
Reference in New Issue
Block a user