Skip to content

Дабвление тестов для BooksCollector#5

Open
aoiaoki wants to merge 3 commits intomainfrom
develop
Open

Дабвление тестов для BooksCollector#5
aoiaoki wants to merge 3 commits intomainfrom
develop

Conversation

@aoiaoki
Copy link
Owner

@aoiaoki aoiaoki commented Nov 4, 2025

No description provided.

tests.py Outdated
class TestBooksCollector:
# ---------- add_new_book ----------
@pytest.mark.parametrize('name', ['', 'A' * 41])
def test_add_new_book_invalid_name_not_added(self, collector, name):

This comment was marked as resolved.

collector.set_book_genre('Гарри Поттер', 'Фантастика')
collector.set_book_genre('Оно', 'Ужасы')
assert collector.get_books_with_specific_genre('Фантастика') == ['Гарри Поттер']

This comment was marked as resolved.

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

Comments