From 0b84180485672f978e90bfa39f28f7cb799e9795 Mon Sep 17 00:00:00 2001 From: Jakub Roztocil Date: Wed, 23 Nov 2016 23:20:52 +0100 Subject: [PATCH] Fix Python 2.6 --- tests/test_auth_plugins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_auth_plugins.py b/tests/test_auth_plugins.py index 854a5676..725f0af4 100644 --- a/tests/test_auth_plugins.py +++ b/tests/test_auth_plugins.py @@ -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}