qa/s3tests: clean up extra_attrs and extra_args logic

Signed-off-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
Casey Bodley 2023-06-22 08:48:47 -04:00
parent 1c006c92e1
commit 1e65b50f60

View File

@ -384,11 +384,9 @@ def run_tests(ctx, config):
if not client_config.get('with-sse-s3'):
attrs += ['not sse_s3']
if 'extra_attrs' in client_config:
attrs += client_config.get('extra_attrs')
attrs += client_config.get('extra_attrs', [])
args += ['tox', '--', '-v', '-m', ' and '.join(attrs)]
if 'extra_args' in client_config:
args.append(client_config['extra_args'])
args += client_config.get('extra_args', [])
toxvenv_sh(ctx, remote, args, label="s3 tests against rgw")
yield