Changed port for storage ural to the documented 8080

This commit is contained in:
Joe Arnold 2011-06-22 01:06:05 +02:00
parent 8d840cef0f
commit 00aabb21d7
2 changed files with 3 additions and 3 deletions

View File

@ -85,7 +85,7 @@ class TempAuth(object):
if ip == '0.0.0.0':
ip = '127.0.0.1'
url += ip
url += ':' + conf.get('bind_port', '80') + '/v1/' + \
url += ':' + conf.get('bind_port', '8080') + '/v1/' + \
self.reseller_prefix + conf_key.split('_')[1]
groups = values
self.users[conf_key.split('_', 1)[1].replace('_', ':')] = {

View File

@ -392,11 +392,11 @@ class TestParseUserCreation(unittest.TestCase):
})(FakeApp())
self.assertEquals(auth_filter.users, {
'admin:admin': {
'url': 'http://127.0.0.1:80/v1/AUTH_admin',
'url': 'http://127.0.0.1:8080/v1/AUTH_admin',
'groups': ['.admin', '.reseller_admin'],
'key': 'admin'
}, 'test:tester3': {
'url': 'http://127.0.0.1:80/v1/AUTH_test',
'url': 'http://127.0.0.1:8080/v1/AUTH_test',
'groups': [],
'key': 'testing'
},