Skip to content

Feature/docs fabric test#276

Open
ZhenyaSonic wants to merge 3 commits intodevfrom
feature/docs_fabric_test
Open

Feature/docs fabric test#276
ZhenyaSonic wants to merge 3 commits intodevfrom
feature/docs_fabric_test

Conversation

@ZhenyaSonic
Copy link
Copy Markdown
Contributor

Добавлены шаблоны докстрингов для тестов и фабрик

@ZhenyaSonic ZhenyaSonic self-assigned this Mar 29, 2025
"""


def test_example_feature():
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Для тестов также используются классы

admin: Создаёт пользователя с правами администратора
"""

def __init__(self, default_role: str = "user"):
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Стандартные методы библиотеки описывать не надо

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants