Skip to content

new_commit - #9

Open
GibtTanya wants to merge 2 commits into
mainfrom
develop
Open

new_commit#9
GibtTanya wants to merge 2 commits into
mainfrom
develop

Conversation

@GibtTanya

Copy link
Copy Markdown
Owner

No description provided.

Comment thread tests.py
collector.add_new_book('ДюнаДюнаДюнаДюнаДюнаДюнаДюнаДюнаДюнаДюнаД')

assert len(collector.get_books_genre()) == 0

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.py Outdated

assert collector.get_book_genre(name) == genre

# @pytest.mark.parametrize('name, genre', [['Дюна', 'Фантастика'], ['Гарри Поттер', 'Детективы'], ['Эйс Вентура', 'Комедии']])

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