def test_month_view(self):
        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' 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
test salt-key -L --yaml-out
dataset/ETHPy150Open eugenkiss/Simblin/test/test_views.py/TestArchives.test_month_view--crossover with--dataset/ETHPy150Open saltstack/salt/tests/integration/shell/key.py/KeyTest.test_list_yaml_out