]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Callers of task s3tests.create_users don't need to provide dummy "fixtures" dict.
authorTommi Virtanen <tommi.virtanen@dreamhost.com>
Fri, 9 Sep 2011 20:22:03 +0000 (13:22 -0700)
committerTommi Virtanen <tommi.virtanen@dreamhost.com>
Fri, 9 Sep 2011 20:22:03 +0000 (13:22 -0700)
teuthology/task/s3tests.py

index 6f1010392956786a13af27646cfea608ca0737df..1ba1b09393e9aedd622ff9dbe5c0ce0eab40d8c6 100644 (file)
@@ -51,6 +51,7 @@ def create_users(ctx, config):
     log.info('Creating rgw users...')
     for client in config['clients']:
         s3tests_conf = config['s3tests_conf'][client]
+        s3tests_conf.setdefault('fixtures', {})
         s3tests_conf['fixtures'].setdefault('bucket prefix', 'test-' + client + '-{random}-')
         for section, user in [('s3 main', 'foo'), ('s3 alt', 'bar')]:
             _config_user(s3tests_conf, section, '{user}.{client}'.format(user=user, client=client))