def test_month_view(self):
        """Test the displaying of the month view"""
        self.clear_db()
        self.register_and_login('barney', 'abc')
        post = Post('the chronic 2001', visible=False)
        post.datetime = datetime.datetime(1999, 11, 16)
        db.session.add(post)
        db.session.commit()
        rv = self.client.get('/1999/11/')
        self.assert_200(rv)
        assert 'the chronic 2001' in rv.data
        rv = self.client.get('/7777/12/')
        assert 'No entries here so far' not in rv.data
        rv = self.client.get('/1999/14/')
        self.assert_404(rv)
        
        self.logout()
        rv = self.client.get('/1999/11/')
        self.assert_200(rv)
        assert 'No entries here so far' in rv.data
dataset/ETHPy150Open eugenkiss/Simblin/test/test_views.py/TestArchives.test_month_view/operator `in` -> `not in`