mirror of
https://github.com/ihabunek/toot
synced 2025-02-02 12:26:51 +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__])
|
console.run_command(app, user, 'upload', [__file__])
|
||||||
|
|
||||||
mock_post.assert_called_once()
|
mock_post.call_count == 1
|
||||||
|
|
||||||
args, kwargs = http.post.call_args
|
args, kwargs = http.post.call_args
|
||||||
assert args == (app, user, '/api/v1/media')
|
assert args == (app, user, '/api/v1/media')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user