ceph-ansible/tests
Dimitri Savineau 3aba6c8e4e 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:37 -04:00
..
functional tests/rgw: use json format output for user info 2021-08-27 14:40:37 -04:00
inventories add a mdss group to the CLI testing inventory 2016-05-06 14:47:45 -05:00
library lib/ceph-volume: support zapping by osd_id 2021-07-26 17:49:42 +02:00
plugins/filter move library/plugins tests files under tests dir 2019-10-28 15:54:31 +01:00
scripts workflows: add signed-off check 2021-06-30 09:52:44 +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 flake8: fix pep8 syntax on tests/functional/tests/ 2020-10-06 10:04:01 +02:00
pytest.ini pytest: register ceph_crash mark 2020-09-10 20:35:04 -04:00
requirements.txt requirements.txt: Move the six dependency into the general requirements 2021-03-03 13:22:29 +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.