def board_id(self, user):
     board = BoardFactory()
     self.session.commit()
     return board.id
        def board(self):
            board = BoardFactory()
            board.posts = PostFactory.create_batch(20)
            self.session.commit()

            return board
 def board_id(self, user):
     board = BoardFactory(user=user, user_id=user.id)
     self.session.commit()
     return board.id
        def target_board_id(self):
            board = BoardFactory()
            self.session.commit()

            return board.id