diff options
author | maheshgudi | 2018-07-13 16:56:29 +0530 |
---|---|---|
committer | maheshgudi | 2018-07-13 16:56:29 +0530 |
commit | 5dce610047070dabb1ae69b1acce4ab090d4be47 (patch) | |
tree | 8b65f6e01e6e03a922a4e0563779127b9668b00b /yaksh/test_views.py | |
parent | e7cfaf3370cfdc135ce8c5c61abf25cf16a8daad (diff) | |
download | online_test-5dce610047070dabb1ae69b1acce4ab090d4be47.tar.gz online_test-5dce610047070dabb1ae69b1acce4ab090d4be47.tar.bz2 online_test-5dce610047070dabb1ae69b1acce4ab090d4be47.zip |
pep8 cleanup for release v0.9
Diffstat (limited to 'yaksh/test_views.py')
-rw-r--r-- | yaksh/test_views.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/yaksh/test_views.py b/yaksh/test_views.py index b71bb3e..3520c61 100644 --- a/yaksh/test_views.py +++ b/yaksh/test_views.py @@ -1345,6 +1345,7 @@ class TestAddQuiz(TestCase): self.assertEqual(response.context['quizzes'][0], self.quiz) self.assertTemplateUsed(response, "yaksh/courses.html") + class TestAddAsModerator(TestCase): def setUp(self): self.client = Client() @@ -1399,6 +1400,7 @@ class TestAddAsModerator(TestCase): with self.assertRaises(Http404): add_as_moderator(self.user, 'moderator') + class TestToggleModerator(TestCase): def setUp(self): self.client = Client() @@ -1481,6 +1483,7 @@ class TestToggleModerator(TestCase): self.assertEqual(response.status_code, 404) + class TestAddTeacher(TestCase): def setUp(self): self.client = Client() @@ -2850,7 +2853,8 @@ class TestCourseDetail(TestCase): target_status_code=301) def test_send_mail_to_course_students(self): - """ Check if bulk mail is sent to multiple students enrolled in a course + """ Check if bulk mail is sent to multiple students enrolled + in a course """ self.client.login( username=self.user1.username, |