]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: add ca_cert_required parameter to get_certificates mock in test
authorRabinarayan Panigrahi <rapanigr@redhat.com>
Sun, 31 May 2026 16:39:09 +0000 (22:09 +0530)
committerRabinarayan Panigrahi <rapanigr@redhat.com>
Thu, 18 Jun 2026 13:50:17 +0000 (19:20 +0530)
commita3aa69398767f9c3db26d18b7bc298300a52c9b8
treed49eeb24c202398ab72d740cfe8f430ebdb10942
parent33c9e66cea3be9225b7462dde85f456909d48199
mgr/cephadm: add ca_cert_required parameter to get_certificates mock in test

Add the ca_cert_required parameter to the lambda function mocking
CephadmService.get_certificates in test_prometheus_config_security_enabled
to match the updated method signature.

This ensures the test mock properly handles the new parameter that was
added to the get_certificates method.

Signed-off-by: Rabinarayan Panigrahi <rapanigr@redhat.com>
src/pybind/mgr/cephadm/tests/services/test_monitoring.py