(self, user: User, project_id: int)
| 58 | |
| 59 | class Verificator: |
| 60 | def __init__(self, user: User, project_id: int): |
| 61 | self.project = user._make_linked_object("id", project_id, project.Project, exceptions.ProjectNotFound) |
| 62 | self.projecturl = self.project.url |
| 63 | self.code = "".join(random.choices(string.ascii_letters + string.digits, k=8)) |
| 64 | self.username = user.username |
| 65 | |
| 66 | def check(self) -> bool: |
| 67 | return bool( |
nothing calls this directly
no test coverage detected