Fix tests on Python 3.5

This commit is contained in:
Ivan Habunek 2018-06-09 10:39:08 +02:00
parent ceb324e9b0
commit ce0df5f1b7
No known key found for this signature in database
GPG Key ID: CDBD63C43A30BB95
1 changed files with 1 additions and 1 deletions

View File

@ -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')