]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: mock subprocess calls in tests that remove iscsi daemons 41181/head
authorAdam King <adking@redhat.com>
Wed, 5 May 2021 17:59:54 +0000 (13:59 -0400)
committerAdam King <adking@redhat.com>
Wed, 5 May 2021 17:59:54 +0000 (13:59 -0400)
commitc5b984b10c2d6f2eef02e9dbf74aea64bf11f19a
tree0525bdc8ce54e486a88c82604a782ba67a0a8968
parentade46fda791ee2c2e1cac1c2376d56acf7ae4766
mgr/cephadm: mock subprocess calls in tests that remove iscsi daemons

tests that remove iscsi daemons use subprocess.run to make
a call to rados to clear out the gateway.conf. We don't want
the tests to actually make that call.

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