(self, article)
| 25 | password="liangliangyy1") |
| 26 | |
| 27 | def update_article_comment_status(self, article): |
| 28 | comments = article.comment_set.all() |
| 29 | for comment in comments: |
| 30 | comment.is_enable = True |
| 31 | comment.save() |
| 32 | |
| 33 | def test_validate_comment(self): |
| 34 | self.client.login(username='liangliangyy1', password='liangliangyy1') |
no test coverage detected