mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Docs for IndexView, TableView, RowView, closes #299
Also removed xfail from test_view_classes_are_documented, so any future *View classes that are added without documentation will cause the tests to fail.
This commit is contained in:
parent
8da6b0d542
commit
788a542d3c
6 changed files with 95 additions and 2 deletions
|
|
@ -68,7 +68,6 @@ def documented_views():
|
|||
return view_labels
|
||||
|
||||
|
||||
@pytest.mark.xfail
|
||||
@pytest.mark.parametrize("view_class", [v for v in dir(app) if v.endswith("View")])
|
||||
def test_view_classes_are_documented(documented_views, view_class):
|
||||
assert view_class in documented_views
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue