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:
Simon Willison 2018-07-27 21:21:42 -07:00
commit 788a542d3c
No known key found for this signature in database
GPG key ID: 17E2DEA2588B7F52
6 changed files with 95 additions and 2 deletions

View file

@ -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