mirror of
https://github.com/ceph/ceph
synced 2025-01-20 10:01:45 +00:00
mgr/pybind: stricter object test
avoid false successful tests from typos Signed-off-by: Noah Watkins <nwatkins@redhat.com>
This commit is contained in:
parent
b5487abb8b
commit
dc8577432f
@ -135,7 +135,9 @@ class Module(MgrModule):
|
||||
"ec_profiles"
|
||||
]
|
||||
for obj in objects:
|
||||
self.get(obj)
|
||||
assert self.get(obj) is not None
|
||||
|
||||
assert self.get("__OBJ_DNE__") is None
|
||||
|
||||
servers = self.list_servers()
|
||||
for server in servers:
|
||||
|
Loading…
Reference in New Issue
Block a user