ceph-ansible/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
..
functional tests/rgw: use json format output for user info 2021-08-27 14:32:56 -04:00
inventories add a mdss group to the CLI testing inventory 2016-05-06 14:47:45 -05:00
library library: exit on user creation failure 2021-08-03 13:27:54 -04:00
module_utils module_utils: don't add newline to the data 2021-01-18 11:29:30 -05:00
plugins/filter improve plugins/filter testing 2020-11-30 10:05:01 +01:00
scripts workflows: add signed-off check 2021-06-30 08:17:40 +02:00
README.md WIP: first implementation of functional tests 2015-02-22 02:31:28 +01:00
README.rst tests: create a README with some explanation on how to use the test harness 2016-11-04 13:59:33 -04:00
conftest.py tests: use nfs + cephfs instead of rgw in update job 2021-06-16 19:39:42 +02:00
pytest.ini pytest: register ceph_crash mark 2020-08-06 09:34:34 +02:00
requirements.txt requirements.txt: Move the six dependency into the general requirements 2021-03-01 15:16:55 +01:00

README.md

Functional tests

These playbooks aim to individually validate each Ceph component. Some of them require packages to be installed. Ideally you will run these tests from a client machine or from the Ansible server.