]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: add unit test for _process_ls_output 53741/head
authorAdam King <adking@redhat.com>
Fri, 22 Sep 2023 23:30:26 +0000 (19:30 -0400)
committerAdam King <adking@redhat.com>
Mon, 9 Oct 2023 13:30:59 +0000 (09:30 -0400)
commitd73b29d380132b0356dbc940066b1bc496f084be
tree682803113408ea353622400dd06eecf4f82e82d9
parent37af9b9243cd3dbba9dc7eec37f1c33876af0478
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>
(cherry picked from commit 47c8ad452423f4bf78885ec911c3b21a52cd90ae)

Conflicts:
src/pybind/mgr/cephadm/tests/test_cephadm.py
src/pybind/mgr/cephadm/tests/test_cephadm.py