mirror of
https://github.com/Kozea/Radicale.git
synced 2025-07-02 16:58:30 +00:00
Type hints for tests
This commit is contained in:
parent
0de8628952
commit
b65d49788a
12 changed files with 501 additions and 379 deletions
|
@ -28,7 +28,8 @@ from radicale import auth
|
|||
|
||||
|
||||
class Auth(auth.BaseAuth):
|
||||
def login(self, login, password):
|
||||
|
||||
def login(self, login: str, password: str) -> str:
|
||||
if login == "tmp":
|
||||
return login
|
||||
return ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue