@@ -27,33 +27,6 @@ class TestProblemViewPermissions:
2727 Tests for problem view permissions as documented in the README.
2828 """
2929
30- # List / browse
31-
32- def test_unauthenticated_user_can_list_problems (self , client , sample_problem ):
33- """Unauthenticated users should be able to browse problems (read-only)."""
34- response = client .get ("/api/problem/" )
35- assert response .status_code == status .HTTP_200_OK
36-
37- def test_visitor_can_list_problems (self , client , visitor , sample_problem ):
38- """Visitors should be able to browse problems."""
39- client .force_login (user = visitor )
40- response = client .get ("/api/problem/" )
41- assert response .status_code == status .HTTP_200_OK
42-
43- def test_annotator_can_list_problems (self , client , annotator , sample_problem ):
44- """Annotators should be able to browse problems."""
45- client .force_login (user = annotator )
46- response = client .get ("/api/problem/" )
47- assert response .status_code == status .HTTP_200_OK
48-
49- def test_master_annotator_can_list_problems (
50- self , client , master_annotator , sample_problem
51- ):
52- """Master annotators should be able to browse problems."""
53- client .force_login (user = master_annotator )
54- response = client .get ("/api/problem/" )
55- assert response .status_code == status .HTTP_200_OK
56-
5730 # Retrieve / browse single
5831
5932 def test_unauthenticated_user_can_retrieve_problem (self , client , sample_problem ):
0 commit comments