Added the docstring documentation to the dummy user of the Flask-Login test case.
This commit is contained in:
parent
ccec1365bf
commit
ff8ada129d
@ -33,7 +33,13 @@ _PASSWORD: str = "Circle Of Life"
|
||||
|
||||
|
||||
class User:
|
||||
"""A dummy user."""
|
||||
|
||||
def __init__(self, username: str):
|
||||
"""Constructs a dummy user.
|
||||
|
||||
:param username: The username.
|
||||
"""
|
||||
self.username: str = username
|
||||
self.is_authenticated: bool = True
|
||||
self.is_active: bool = True
|
||||
|
Loading…
Reference in New Issue
Block a user