diff options
author | Devaev Maxim <[email protected]> | 2019-04-11 03:08:53 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-04-11 03:08:53 +0300 |
commit | c59f8bdaf1ade25f26085a70940771503345d1e8 (patch) | |
tree | 03f65c34bad135ef2ede2dbaf619ae00800ad2c1 /kvmd | |
parent | 4ec9374e3d797e98c8c0c9483f737bad57b70565 (diff) |
some nocovers
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 |