some nocovers

This commit is contained in:
Devaev Maxim
2019-04-11 03:08:53 +03:00
parent 4ec9374e3d
commit c59f8bdaf1
2 changed files with 3 additions and 3 deletions

View File

@@ -41,11 +41,11 @@ class BasePlugin:
PLUGIN_NAME: str = "" PLUGIN_NAME: str = ""
def __init__(self, **_: Any) -> None: def __init__(self, **_: Any) -> None:
pass pass # pragma: nocover
@classmethod @classmethod
def get_options(cls) -> Dict[str, Option]: def get_options(cls) -> Dict[str, Option]:
return {} return {} # pragma: nocover
# ===== # =====

View File

@@ -29,7 +29,7 @@ from .. import get_plugin_class
# ===== # =====
class BaseAuthService(BasePlugin): class BaseAuthService(BasePlugin):
async def login(self, user: str, passwd: str) -> bool: async def login(self, user: str, passwd: str) -> bool:
raise NotImplementedError raise NotImplementedError # pragma: nocover
async def cleanup(self) -> None: async def cleanup(self) -> None:
pass pass