Fix Python 2.6

This commit is contained in:
Jakub Roztocil 2016-11-23 23:20:52 +01:00
parent 5a1bd4ba83
commit 0b84180485

View File

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