Skip to content

Suggestion list

Suggestion list #275

Triggered via pull request August 27, 2024 18:43
Status Failure
Total duration 4m 45s
Artifacts

python.yml

on: pull_request
Tests (pytest)
4m 35s
Tests (pytest)
Linting (pylint)
1m 50s
Linting (pylint)
Typing (mypy)
54s
Typing (mypy)
Formatting (black; run ./bw-dev black to fix)
16s
Formatting (black; run ./bw-dev black to fix)
Fit to window
Zoom out
Zoom in

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.