Make average rating property of Edition model #316
python.yml
on: pull_request
Tests (pytest)
4m 28s
Linting (pylint)
1m 45s
Typing (mypy)
50s
Formatting (black; run ./bw-dev black to fix)
13s
Annotations
5 errors and 1 warning
Tests (pytest):
bookwyrm/tests/views/books/test_book.py#L73
BookViews.test_book_page
TypeError: Field 'id' expected a number but got <class 'bookwyrm.models.book.Edition'>.
|
Tests (pytest):
bookwyrm/tests/views/books/test_book.py#L114
BookViews.test_book_page_statuses
TypeError: Field 'id' expected a number but got <class 'bookwyrm.models.book.Edition'>.
|
Tests (pytest):
bookwyrm/tests/views/books/test_book.py#L154
BookViews.test_book_page_work_id
TypeError: Field 'id' expected a number but got <class 'bookwyrm.models.book.Edition'>.
|
Tests (pytest):
bookwyrm/tests/views/books/test_book.py#L284
BookViews.test_quotation_endposition
TypeError: Field 'id' expected a number but got <class 'bookwyrm.models.book.Edition'>.
|
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.
|