diff --git a/extensions/cpsection/webaccount/web_service.py b/extensions/cpsection/webaccount/web_service.py index 998acb120d..bbb88c80a1 100644 --- a/extensions/cpsection/webaccount/web_service.py +++ b/extensions/cpsection/webaccount/web_service.py @@ -16,7 +16,7 @@ class WebService(): def get_icon_name(self): - raise "Not implemented" + raise NotImplementedError def config_service_cb(self, widget, event, container): - raise "Not implemented" + raise NotImplementedError diff --git a/tests/extensions/cpsection/webaccount/web_service.py b/tests/extensions/cpsection/webaccount/web_service.py index 998acb120d..bbb88c80a1 100644 --- a/tests/extensions/cpsection/webaccount/web_service.py +++ b/tests/extensions/cpsection/webaccount/web_service.py @@ -16,7 +16,7 @@ class WebService(): def get_icon_name(self): - raise "Not implemented" + raise NotImplementedError def config_service_cb(self, widget, event, container): - raise "Not implemented" + raise NotImplementedError