diff options
Diffstat (limited to 'kvmd')
-rw-r--r-- | kvmd/plugins/__init__.py | 4 | ||||
-rw-r--r-- | kvmd/plugins/auth/__init__.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/kvmd/plugins/__init__.py b/kvmd/plugins/__init__.py index 87510e9c..235e7e0e 100644 --- a/kvmd/plugins/__init__.py +++ b/kvmd/plugins/__init__.py @@ -41,11 +41,11 @@ class BasePlugin: PLUGIN_NAME: str = "" def __init__(self, **_: Any) -> None: - pass + pass # pragma: nocover @classmethod def get_options(cls) -> Dict[str, Option]: - return {} + return {} # pragma: nocover # ===== diff --git a/kvmd/plugins/auth/__init__.py b/kvmd/plugins/auth/__init__.py index 103f2857..3bc40372 100644 --- a/kvmd/plugins/auth/__init__.py +++ b/kvmd/plugins/auth/__init__.py @@ -29,7 +29,7 @@ from .. import get_plugin_class # ===== class BaseAuthService(BasePlugin): async def login(self, user: str, passwd: str) -> bool: - raise NotImplementedError + raise NotImplementedError # pragma: nocover async def cleanup(self) -> None: pass |