]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: add a simple unit test for RemoteCommand class
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 14 Mar 2024 18:02:17 +0000 (14:02 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Sun, 17 Mar 2024 15:23:04 +0000 (11:23 -0400)
commite357d2f99a14969b6f1a089680a9f16dc3bb0e54
treee6e69331fa912509ea9bc27f7c2dfa429151d228
parentd9fb2840fc34534fc157cd2d9563c2c1a5ebe407
mgr/cephadm: add a simple unit test for RemoteCommand class

Converting a remote command to something that other libs uses requires
converting the enum to a string. Python behavior in the area varies
across versions so add a unit test that verifies the conversion
behaves as intended.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/pybind/mgr/cephadm/tests/test_ssh.py