Fix registry tests

This commit is contained in:
Joseph Schorr 2015-09-17 16:27:05 -04:00
parent 26cea9a07c
commit dd61f56e89

View file

@ -285,7 +285,7 @@ class V2RegistryMixin(BaseRegistryMixin):
params = {
'account': username,
'scope': 'repository:%s/%s:%s' % (namespace, repository, ','.join(scopes)),
'service': 'quay'
'service': app.config['SERVER_HOSTNAME'],
}
response = self.conduct('GET', '/v2/auth', params=params, auth=(username, password),