]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
pytest-infra: fix failures
authorTeoman ONAY <tonay@ibm.com>
Mon, 15 Jan 2024 21:27:17 +0000 (22:27 +0100)
committerGuillaume Abrioux <gabrioux@ibm.com>
Mon, 11 Mar 2024 14:48:19 +0000 (15:48 +0100)
commit6ba0c733e671052ed273ff5c54b1eaef6d6996c9
tree171c73d493f66ea0d1bc200d3975d240634eb064
parentbc28ebd4984734b3d79b8b54c67355e53b148f29
pytest-infra: fix failures

pytest-infra 10.0.0 release changed the get_variables() behavior which led to CI failures
(https://github.com/pytest-dev/pytest-testinfra/pull/724)
Starting of now all groups the host is part of and not only the direct parent groups are
returned by get_variables()

Signed-off-by: Teoman ONAY <tonay@ibm.com>
(cherry picked from commit 37a82225f765eeca24dc76a804e292b5f711944d)
tests/conftest.py