summaryrefslogtreecommitdiff
path: root/yaksh/test_views.py
diff options
context:
space:
mode:
authorCruiseDevice2020-04-25 19:21:04 +0530
committerCruiseDevice2020-04-25 19:21:04 +0530
commit66939d00dab998c7c0e649938527271551f22980 (patch)
tree0fa82441bcd547f8c7ce51384bcbddf269453105 /yaksh/test_views.py
parent8f66c175447bc335c9121d5bf5ae1cb5b181cef9 (diff)
downloadonline_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.py6
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',