diff options
author | CruiseDevice | 2020-04-25 19:21:04 +0530 |
---|---|---|
committer | CruiseDevice | 2020-04-25 19:21:04 +0530 |
commit | 66939d00dab998c7c0e649938527271551f22980 (patch) | |
tree | 0fa82441bcd547f8c7ce51384bcbddf269453105 /yaksh/test_views.py | |
parent | 8f66c175447bc335c9121d5bf5ae1cb5b181cef9 (diff) | |
download | online_test-66939d00dab998c7c0e649938527271551f22980.tar.gz online_test-66939d00dab998c7c0e649938527271551f22980.tar.bz2 online_test-66939d00dab998c7c0e649938527271551f22980.zip |
Resolve comments, fix tests, add pagination
Diffstat (limited to 'yaksh/test_views.py')
-rw-r--r-- | yaksh/test_views.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/yaksh/test_views.py b/yaksh/test_views.py index 39d5865..0ae97ba 100644 --- a/yaksh/test_views.py +++ b/yaksh/test_views.py @@ -6740,10 +6740,10 @@ class TestPostComment(TestCase): def test_hide_post_comment(self): self.client.login( - username=self.student.username, - password=self.student_plaintext_pass + username=self.user.username, + password=self.user_plaintext_pass ) - self.course.students.add(self.student) + self.course.students.add(self.user) comment = Comment.objects.create( post_field=self.post, description='post 1 comment', |