Suggestion list #275
python.yml
on: pull_request
Tests (pytest)
4m 35s
Linting (pylint)
1m 50s
Typing (mypy)
54s
Formatting (black; run ./bw-dev black to fix)
16s
Annotations
6 errors and 1 warning
Linting (pylint)
Process completed with exit code 8.
|
Tests (pytest):
bookwyrm/tests/views/test_suggestion_list.py#L93
BookViews.test_book_add_suggestion
ValueError: Cannot assign "<<class 'bookwyrm.models.book.Edition'> key=None title='Example Edition'>": "SuggestionList.suggests_for" must be a "Work" instance.
|
Tests (pytest):
bookwyrm/tests/views/test_suggestion_list.py#L715
BookViews.test_suggestion_create
AssertionError: False is not true
|
Tests (pytest):
bookwyrm/tests/views/test_suggestion_list.py#L51
BookViews.test_suggestion_list_get
ValueError: Cannot assign "<<class 'bookwyrm.models.book.Edition'> key=None title='Example Edition'>": "SuggestionList.suggests_for" must be a "Work" instance.
|
Tests (pytest):
bookwyrm/tests/views/test_suggestion_list.py#L61
BookViews.test_suggestion_list_get_json
ValueError: Cannot assign "<<class 'bookwyrm.models.book.Edition'> key=None title='Example Edition'>": "SuggestionList.suggests_for" must be a "Work" instance.
|
Tests (pytest)
Process completed with exit code 1.
|
Formatting (black; run ./bw-dev black to fix)
The `python-version` input is not set. The version of Python currently in `PATH` will be used.
|