Fix py37 test

master
Cristi Vîjdea 2019-01-14 14:58:16 +02:00
parent 762467285c
commit 8e2228fe5f
1 changed files with 10 additions and 10 deletions

View File

@ -116,24 +116,24 @@ SWAGGER_SETTINGS = {
'type': 'basic' 'type': 'basic'
}, },
'Bearer': { 'Bearer': {
'type': 'apiKey', 'in': 'header',
'name': 'Authorization', 'name': 'Authorization',
'in': 'header'
},
'Query': {
'type': 'apiKey', 'type': 'apiKey',
'name': 'auth',
'in': 'query'
}, },
'OAuth2 password': { 'OAuth2 password': {
'type': 'oauth2',
'flow': 'password', 'flow': 'password',
'tokenUrl': OAUTH2_TOKEN_URL,
'scopes': { 'scopes': {
'read': 'Read everything.', 'read': 'Read everything.',
'write': 'Write everything,', 'write': 'Write everything,',
} },
} 'tokenUrl': OAUTH2_TOKEN_URL,
'type': 'oauth2',
},
'Query': {
'in': 'query',
'name': 'auth',
'type': 'apiKey',
},
}, },
'OAUTH2_REDIRECT_URL': OAUTH2_REDIRECT_URL, 'OAUTH2_REDIRECT_URL': OAUTH2_REDIRECT_URL,
'OAUTH2_CONFIG': { 'OAUTH2_CONFIG': {