]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
python-common: move test_valid_snmp_gateway_spec from mgr/cephadm 44341/head
authorSebastian Wagner <sewagner@redhat.com>
Mon, 20 Dec 2021 10:48:43 +0000 (11:48 +0100)
committerSebastian Wagner <sewagner@redhat.com>
Wed, 5 Jan 2022 09:24:42 +0000 (10:24 +0100)
commit303843b476b442d0d398680b23aa244633768f29
treed44f14962541f5f4bb2a08f57b6e8a89e1d9748e
parentc652ae74795252f875594b09627064d97ff2a762
python-common: move test_valid_snmp_gateway_spec from mgr/cephadm

We have to validate to_json() now as well, as we have spcial enums.
Otherwiese we might end up with !!python... representations.

Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
src/pybind/mgr/cephadm/tests/test_spec.py
src/python-common/ceph/tests/test_service_spec.py