def test_comment_existence_ng_not_exists_comment_id(self): result = DBUtil.comment_existence(self.dynamodb, 'piyopiyo') self.assertFalse(result)
def test_comment_existence_ok(self): result = DBUtil.comment_existence(self.dynamodb, self.comment_items[0]['comment_id']) self.assertTrue(result)