Other modules are encouraged to override this method and implement
a as good as possible self-test which returns True or False
It should be a simple way of running (automated) testing on a ceph-mgr
module
Signed-off-by: Wido den Hollander <wido@42on.com>
else:
return json.loads(raw)
+ def self_test(self):
+ """
+ Run a self-test on the module. Override this function and implement
+ a best as possible self-test for (automated) testing of the module
+ :return: bool
+ """
+ pass