mirror of
https://github.com/ceph/ceph
synced 2025-01-10 21:20:46 +00:00
qa/tasks/mgr/test_module_selftest: fix localized value test
When mgr/selftest/testkey = foo and mgr/selftest/x/testkey is not set, then get_localized() should return foo. Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
e66ed5883c
commit
ebdd003bf4
@ -97,7 +97,7 @@ class TestModuleSelftest(MgrTestCase):
|
||||
return self.mgr_cluster.mon_manager.raw_cluster_cmd(
|
||||
"mgr", "self-test", "config", "get_localized", "testkey").strip()
|
||||
|
||||
self.assertEqual(get_localized_value(), "None")
|
||||
self.assertEqual(get_localized_value(), "foo")
|
||||
self.mgr_cluster.mon_manager.raw_cluster_cmd(
|
||||
"config", "set", "mgr", "mgr/selftest/{}/testkey".format(
|
||||
self.mgr_cluster.get_active_id()),
|
||||
|
Loading…
Reference in New Issue
Block a user