You've already forked httpie-cli
mirror of
https://github.com/httpie/cli.git
synced 2026-06-20 11:32:56 +02:00
Modernize the code base with f-strings in tests (#1069)
Simple concatenations were kept for readability purpose.
This commit is contained in:
committed by
GitHub
parent
0ff0874fa3
commit
264d45cdf5
@@ -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}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user