@@ -25,28 +25,28 @@ def test_blogs(self):
2525 for blog in json ['blog_posts' ]:
2626 json = self .api .blogs_id (require_auth = True , id = blog ['id' ])
2727 self .assertIsNotNone (json )
28- json = self .api .blogs_comments (require_auth = True , id = blog ['id' ])
28+ json = self .api .blogs_comments (require_auth = True , id = blog ['id' ])
2929 self .assertIsNotNone (json )
3030
31- def test_blog (self ):
32- json = self .api .blogs_post (title = 'title test' , body = 'body test' )
33- self .assertIsNotNone (json )
34-
35- json = self .api .blogs_update (id = json ['id' ], title = 'title test 2' , body = 'body test 2' )
36- self .assertIsNotNone (json )
37-
38- json_comment = self .api .blogs_comments_post (id = json ['id' ], body = 'test comment' )
39- self .assertIsNotNone (json_comment )
40-
41- blogs = self .api .blogs_comments (id = json ['id' ])
42- self .assertIsNotNone (blogs )
43-
44- json_comment = self .api .comments_post (id = json_comment ['comment' ]['id' ], body = 'reply test comment' )
45- self .assertIsNotNone (json_comment )
46-
47- json = self .api .blogs_delete (id = json ['id' ])
48- self .assertIsNotNone (json )
31+ # def test_blog(self):
32+ # json = self.api.blogs_post(title='title test', body='body test')
33+ # self.assertIsNotNone(json)
34+ #
35+ # json = self.api.blogs_update(id=json['id'], title='title test 2', body='body test 2')
36+ # self.assertIsNotNone(json)
37+ #
38+ # json_comment = self.api.blogs_comments_post(id=json['id'], body='test comment')
39+ # self.assertIsNotNone(json_comment)
40+ #
41+ # blogs = self.api.blogs_comments(id=json['id'])
42+ # self.assertIsNotNone(blogs)
43+ #
44+ # json_comment = self.api.comments_post(id=json_comment['comment']['id'], body='reply test comment')
45+ # self.assertIsNotNone(json_comment)
46+ #
47+ # json = self.api.blogs_delete(id=json['id'])
48+ # self.assertIsNotNone(json)
4949
5050if __name__ == '__main__' :
5151 del sys .argv [1 :]
52- unittest .main ()
52+ unittest .main ()
0 commit comments