Skip to content

BooksCollector and README - #1

Open
Interlude312 wants to merge 3 commits into
mainfrom
develop
Open

BooksCollector and README#1
Interlude312 wants to merge 3 commits into
mainfrom
develop

Conversation

@Interlude312

Copy link
Copy Markdown
Owner

тесты для BooksCollector

Comment thread tests.py Outdated
# создаем экземпляр (объект) класса BooksCollector
def test_initial_state(self):
collector = BooksCollector()
assert collector.get_books_genre() == {} and collector.get_list_of_favorites_books() == []

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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

@Interlude312

Copy link
Copy Markdown
Owner Author

Исправил

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