]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: add unit test for _process_ls_output 53612/head
authorAdam King <adking@redhat.com>
Fri, 22 Sep 2023 23:30:26 +0000 (19:30 -0400)
committerAdam King <adking@redhat.com>
Mon, 25 Sep 2023 19:03:50 +0000 (15:03 -0400)
commit47c8ad452423f4bf78885ec911c3b21a52cd90ae
treefea7fa528dbfcb9bb06221fd91402485fdf141b3
parent06cf5bb95205965ab6b625b9069a11fa89ed4fb9
mgr/cephadm: add unit test for _process_ls_output

This is a weird function to make a unit test for
since it's essentially just moving data from a
list of dicts into a list of DaemonDescriptions,
but wanted to have some coverage to lower the
chance of breaking something again.

Signed-off-by: Adam King <adking@redhat.com>
src/pybind/mgr/cephadm/tests/test_cephadm.py