diff --git a/sonic_platform_base/module_base.py b/sonic_platform_base/module_base.py index cb4dda7d3077..5b36a649695e 100644 --- a/sonic_platform_base/module_base.py +++ b/sonic_platform_base/module_base.py @@ -451,7 +451,7 @@ def get_midplane_ip(self): A string, the IP-address of the module reachable over the midplane """ - return NotImplementedError + raise NotImplementedError def is_midplane_reachable(self): """ @@ -461,4 +461,4 @@ def is_midplane_reachable(self): Returns: A bool value, should return True if module is reachable via midplane """ - return NotImplementedError + raise NotImplementedError