def test_multipleview(self):
        """Test the displaying of multiple blog posts on home page"""
        self.clear_db()
        self.register_and_login('barney', 'abc')
        
        self.add_post(title='Title', markup='', visible=True)
        self.add_post(title='Title2', visible=None)
        
        self.logout()
        
        rv = self.client.get('/')
        self.assert_200(rv)
        assert 'Title' in rv.data
        assert 'Title2' not in rv.data
dataset/ETHPy150Open eugenkiss/Simblin/test/test_views.py/TestPost.test_multipleview/original