mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
some nocovers
This commit is contained in:
parent
4ec9374e3d
commit
c59f8bdaf1
@ -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
|
||||
|
||||
|
||||
# =====
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user