Skip to content

Диплом_1: юнит-тесты#823

Open
Evgeniya-lit wants to merge 2 commits into
Yandex-Practicum:mainfrom
Evgeniya-lit:develop1
Open

Диплом_1: юнит-тесты#823
Evgeniya-lit wants to merge 2 commits into
Yandex-Practicum:mainfrom
Evgeniya-lit:develop1

Conversation

@Evgeniya-lit

Copy link
Copy Markdown
Отчет покрытия

Comment thread conftest.py Outdated
mock.get_price.return_value = TEST_BUN["price"]
return mock

def _create_mock_ingredient(type, name, price):

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Нужно исправить: модуль conftest содержит только фикстуры и хуки

Comment thread conftest.py Outdated
return _create_mock_ingredient(**TEST_FILLING_1)

@pytest.fixture
def mock_ingredients(mock_sauce, mock_filling):

Copy link
Copy Markdown

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