Skip to content
Prev Previous commit
Next Next commit
'Refactored by Sourcery' (#332)
Co-authored-by: Sourcery AI <>
  • Loading branch information
sourcery-ai[bot] authored Oct 10, 2021
commit d50bfda6f53b1458899f4cff56dfbb9cdf1ac77f
4 changes: 1 addition & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,7 @@ def recover_client_password(


def upload_avatar(client: FlaskClient, avatar: FileStorage):
return client.post(
f'/avatar', data={'avatar': avatar}, follow_redirects=True,
)
return client.post('/avatar', data={'avatar': avatar}, follow_redirects=True)


def create_user(
Expand Down