ceph-ansible/tests/functional/tests
Dimitri Savineau feb0ba9dcc tests/rgw: use json format output for user info
If the radosgw user already exists then we need to have the output in json
format because we are expecting to load the output with json.loads()
Otherwise we have pytest failure like:

```console
self = <json.decoder.JSONDecoder object at 0x7fa2f00a5fd0>, s = '', idx = 0

    def raw_decode(self, s, idx=0):
        """Decode a JSON document from ``s`` (a ``str`` beginning with
        a JSON document) and return a 2-tuple of the Python
        representation and the index in ``s`` where the document ended.

        This can be used to decode a JSON document from a string that may
        have extraneous data at the end.

        """
        try:
            obj, end = self.scan_once(s, idx)
        except StopIteration as err:
>           raise JSONDecodeError("Expecting value", s, err.value) from None
E           json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
```

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit f2bd8ae70f)
2021-08-27 14:32:56 -04:00
..
grafana tests: add dashboard testinfra configuration 2020-03-24 15:19:18 +01:00
iscsi igw: Update tests to use ceph-iscsi package 2019-07-03 22:13:19 +02:00
mds tests: group and parametrize tests 2019-04-24 10:03:25 +02:00
mgr tests: update mgr dashboard socket listening test 2020-03-24 21:11:02 +01:00
mon tests: update testinfra release 2019-05-20 13:04:58 +02:00
nfs tests: use nfs + cephfs instead of rgw in update job 2021-06-16 19:39:42 +02:00
node-exporter tests: add dashboard testinfra configuration 2020-03-24 15:19:18 +01:00
osd tests: group and parametrize tests 2019-04-24 10:03:25 +02:00
rbd-mirror tests: group and parametrize tests 2019-04-24 10:03:25 +02:00
rgw tests/rgw: use json format output for user info 2021-08-27 14:32:56 -04:00
__init__.py tests: add __init__.py for functional tests 2016-11-04 13:59:33 -04:00
test_install.py flake8: fix pep8 syntax on tests/functional/tests/ 2020-10-06 08:00:06 +02:00