Skip to content

Comments

Develop#5

Open
Mefite wants to merge 2 commits intomainfrom
develop
Open

Develop#5
Mefite wants to merge 2 commits intomainfrom
develop

Conversation

@Mefite
Copy link
Owner

@Mefite Mefite commented Dec 2, 2025

No description provided.

@@ -21,4 +22,82 @@ def test_add_new_book_add_two_books(self):
assert len(collector.get_books_rating()) == 2

Choose a reason for hiding this comment

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

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

def test_get_books_with_specific_genre(self):
collector = BooksCollector()
collector.add_new_book('Остров сокровищ')
collector.set_book_genre('Остров сокровищ', 'Мультфильмы')

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