Modernize the code base with f-strings in tests (#1069)

Simple concatenations were kept for readability purpose.
This commit is contained in:
Mickaël Schoentgen
2021-05-26 14:09:38 +02:00
committed by GitHub
parent 0ff0874fa3
commit 264d45cdf5
10 changed files with 42 additions and 42 deletions

View File

@ -13,7 +13,7 @@ PASSWORD = 'password'
# Basic auth encoded `USERNAME` and `PASSWORD`
# noinspection SpellCheckingInspection
BASIC_AUTH_HEADER_VALUE = 'Basic dXNlcjpwYXNzd29yZA=='
BASIC_AUTH_URL = '/basic-auth/{0}/{1}'.format(USERNAME, PASSWORD)
BASIC_AUTH_URL = f'/basic-auth/{USERNAME}/{PASSWORD}'
AUTH_OK = {'authenticated': True, 'user': USERNAME}