pre-commit: run black with string normalization

This commit is contained in:
Erik Sundell
2021-11-03 23:55:34 +01:00
parent 2ba942ba76
commit e0aaa4f995
31 changed files with 700 additions and 692 deletions

View File

@@ -10,7 +10,7 @@ async def test_admin_login():
Test if the admin that was added during install can login with
the password provided.
"""
hub_url = 'http://localhost'
hub_url = "http://localhost"
username = "admin"
password = "admin"
@@ -33,7 +33,7 @@ async def test_unsuccessful_login(username, password):
"""
Ensure nobody but the admin that was added during install can login
"""
hub_url = 'http://localhost'
hub_url = "http://localhost"
async with User(username, hub_url, partial(login_dummy, password="")) as u:
user_logged_in = await u.login()