Skip to content

firstcommitAkanovTimur - #880

Open
timur-akanov wants to merge 1 commit into
Yandex-Practicum:mainfrom
timur-akanov:develop1
Open

firstcommitAkanovTimur#880
timur-akanov wants to merge 1 commit into
Yandex-Practicum:mainfrom
timur-akanov:develop1

Conversation

@timur-akanov

Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Нужно исправить: из финального проекта нужно удалить все файлы и папки, которые не относятся к решению задачи

Comment thread tests/test_burger.py

assert "(==== test bun ====)" in receipt
assert "= sauce hot sauce =" in receipt
assert "Price: 110.0" in receipt

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

нужно протестировать все методы бургера

Comment thread tests/test_models.py
bun = Bun(name, price)

assert bun.get_name() == name
assert bun.get_price() == 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.

Нужно исправить: здесь и далее: это юнит тесты, на каждый метод должен быть отдельный тест

Comment thread tests/test_praktikum.py
import praktikum


def test_main_builds_burger_using_database_and_prints_receipt(monkeypatch):

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