ceph-ansible/tests
Dimitri Savineau d054864366 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:40:32 -04:00
..
functional tests/rgw: use json format output for user info 2021-08-27 14:40:32 -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-04 17:41:29 +02:00
plugins/filter move library/plugins tests files under tests dir 2019-10-28 09:23:17 +01:00
scripts workflows: add signed-off check 2021-06-30 08:28:49 +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/mds instead of nfs/rgw 2021-06-16 09:33:59 +02:00
pytest.ini pytest: register ceph_crash mark 2020-08-06 09:41:54 +02:00
requirements.txt requirements.txt: Move the six dependency into the general requirements 2021-03-01 15:17:10 +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.