diff options
author | CruiseDevice | 2020-04-25 19:23:29 +0530 |
---|---|---|
committer | CruiseDevice | 2020-04-25 19:23:29 +0530 |
commit | 058724fb4b78774d8caeb2c0fbf53257ab00def7 (patch) | |
tree | 6567e42730274e99db08c69b4987834e551ba146 /yaksh/test_views.py | |
parent | 66939d00dab998c7c0e649938527271551f22980 (diff) | |
download | online_test-058724fb4b78774d8caeb2c0fbf53257ab00def7.tar.gz online_test-058724fb4b78774d8caeb2c0fbf53257ab00def7.tar.bz2 online_test-058724fb4b78774d8caeb2c0fbf53257ab00def7.zip |
Fix tests
Diffstat (limited to 'yaksh/test_views.py')
-rw-r--r-- | yaksh/test_views.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/yaksh/test_views.py b/yaksh/test_views.py index 0ae97ba..3ce3f81 100644 --- a/yaksh/test_views.py +++ b/yaksh/test_views.py @@ -6516,15 +6516,15 @@ class TestPost(TestCase): def test_hide_post(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) post = Post.objects.create( title='post 1', description='post 1 description', course=self.course, - creator=self.student + creator=self.user ) url = reverse('yaksh:hide_post', kwargs={ 'course_id': self.course.id, |