예제 #1
0
파일: tests.py 프로젝트: btbroot/exmo2010
 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)
예제 #2
0
파일: tests.py 프로젝트: btbroot/exmo2010
 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)
예제 #3
0
파일: tests.py 프로젝트: btbroot/exmo2010
 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)
예제 #4
0
파일: tests.py 프로젝트: btbroot/exmo2010
 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)