Skip to content

Commit

Permalink
docs: improve how-to doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jesperhodge committed Jan 17, 2025
1 parent 2867f8b commit 9507b12
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ be tested for the following.

How to test
-----------
The `AuthorizeStaffTestCase` class provides a set of tests that can be used to test the authorization
of a view. If you inherit from this class, these tests will be automatically run. For details,
please look at the source code of the `AuthorizeStaffTestCase` class.

A lot of these tests can be easily implemented by inheriting from the `AuthorizeStaffTestCase`.
This parent class assumes that the view is for a specific course and that only users who have access
to the course can access the view. (They are either staff or instructors for the course, or global admin).
Expand Down

0 comments on commit 9507b12

Please sign in to comment.