From e3220d0e0b9762ae72cf27200c3ea20ab9cb410a Mon Sep 17 00:00:00 2001 From: Rongqi Sun Date: Thu, 11 May 2023 11:10:42 +0800 Subject: [PATCH] test_cephadm: fix conf format Signed-off-by: Rongqi Sun --- src/pybind/mgr/cephadm/tests/test_cephadm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/cephadm/tests/test_cephadm.py b/src/pybind/mgr/cephadm/tests/test_cephadm.py index 13a5302f2b65..bae3f2fd86b1 100644 --- a/src/pybind/mgr/cephadm/tests/test_cephadm.py +++ b/src/pybind/mgr/cephadm/tests/test_cephadm.py @@ -1655,7 +1655,7 @@ class TestCephadm(object): cephadm_module._set_extra_ceph_conf('[mon]\nk=v') CephadmServe(cephadm_module)._refresh_hosts_and_daemons() _write_file.assert_called_with('test', '/etc/ceph/ceph.conf', - b'\n\n[mon]\nk=v\n', 0o644, 0, 0) + b'[mon]\nk=v\n', 0o644, 0, 0) # reload cephadm_module.cache.last_client_files = {} -- 2.47.3