]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
python-common: move test_valid_snmp_gateway_spec from mgr/cephadm 44529/head
authorSebastian Wagner <sewagner@redhat.com>
Mon, 20 Dec 2021 10:48:43 +0000 (11:48 +0100)
committerSebastian Wagner <sewagner@redhat.com>
Tue, 18 Jan 2022 10:45:24 +0000 (11:45 +0100)
commit7e389eaf94c994a2ccf3bbc89a3b84c574640a5e
tree2afcab5cfa4d618f9d69351db966f758c1603f76
parent4b3450a7203bc8b6c3b08621840b843404d408c5
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>
(cherry picked from commit 303843b476b442d0d398680b23aa244633768f29)
src/pybind/mgr/cephadm/tests/test_spec.py
src/python-common/ceph/tests/test_service_spec.py