Esempio n. 1
0
 def test_published_approved_task_allow_all(self, username):
     with self.mock_request(username, self.task_approved_published) as request:
         self.assertEqual(rating_update(request).status_code, 200)
Esempio n. 2
0
 def test_published_approved_task_allow_all(self, username):
     with self.mock_request(username, self.task_approved_published) as request:
         self.assertEqual(rating_update(request).status_code, 200)
Esempio n. 3
0
 def test_interaction_approved_task_allow(self, username):
     with self.mock_request(username, self.task_approved_interaction) as request:
         self.assertEqual(rating_update(request).status_code, 200)
Esempio n. 4
0
 def test_interaction_approved_task_allow(self, username):
     with self.mock_request(username, self.task_approved_interaction) as request:
         self.assertEqual(rating_update(request).status_code, 200)